| | |
| | | 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' |
| | | } |
| | | |
| | |
| | | stage('部署到dev环境') { |
| | | agent none |
| | | steps { |
| | | kubernetesDeploy(configs: 'deploy/**', enableConfigSubstitution: true, kubeconfigId: "$KUBECONFIG_CREDENTIAL_ID") |
| | | kubernetesDeploy(configs: 'deploy/**', enableConfigSubstitution: true, kubeconfigId: 'kube-zhba') |
| | | } |
| | | } |
| | | |