Jenkinsfile 520 B

12345678910
  1. def git_auth="d4b4c06c-7a45-4969-a06d-8363858e81cd"
  2. def git_url="http://10.68.0.122:3000/mengqingchuang/k8swebapi.git"
  3. def jenkins_home="/var/jenkins_home/workspace/k8swebapi/"
  4. def xy_image="registry-vpc.cn-beijing.aliyuncs.com/xinyue/"
  5. def release="J${BUILD_NUMBER}"
  6. node {
  7. stage('pull code') {
  8. checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: "${git_auth}", url: "${git_url}"]]])}
  9. }