소스 검색

更新 'Jenkinsfile'

chenghongxi 4 년 전
부모
커밋
dcdea4b345
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"
-				git credentialsId: '828a7f69-4160-4ff8-a8ce-cf76fa430d0f', url: 'http://10.68.0.122:3000/fanyijian/k8s.git'
+				checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CheckoutOption', timeout: 120]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '828a7f69-4160-4ff8-a8ce-cf76fa430d0f', url: 'http://10.68.0.122:3000/fanyijian/k8s.git']]])
 		}
 	}
 }