chenghongxi 4 роки тому
батько
коміт
818cc459a8
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -9,7 +9,7 @@ ansiColor('xterm') {
 	node {
 		stage('pull code') {
 			echo "\u001B[32m############开始拉取代码############\u001B[0m"
-				checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CheckoutOption', timeout: 15]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '828a7f69-4160-4ff8-a8ce-cf76fa430d0f', url: 'http://10.68.0.122:3000/fanyijian/k8s.git']]])
+				sh "git clone http://10.68.0.122:3000/fanyijian/k8s.git"
 		}
 	}
 }