钟日健
2022-03-15 7a386d774772f51f0fe54d056f5e714bdf970b1f
jenkinsfile修改
1 files modified
4 ■■■■ changed files
Jenkinsfile 4 ●●●● patch | view | raw | blame | history
Jenkinsfile
@@ -10,7 +10,7 @@
      agent none
      steps {
        container('nodejs') {
          git(url: 'http://192.168.0.105:10010/r/zhba_enterprises.git', credentialsId: 'gitee', branch: 'master', changelog: true, poll: false)
          git(url: 'http://192.168.0.105:10010/r/zhba_enterprises.git', credentialsId: 'gitblit', branch: 'master', changelog: true, poll: false)
          sh 'ls -al'
        }
@@ -59,7 +59,7 @@
    stage('部署到dev环境') {
      agent none
      steps {
        kubernetesDeploy(configs: 'deploy/**', enableConfigSubstitution: true, kubeconfigId: "$KUBECONFIG_CREDENTIAL_ID")
        kubernetesDeploy(configs: 'deploy/**', enableConfigSubstitution: true, kubeconfigId: 'kube-zhba')
      }
    }