拉取代码
@@ -11,7 +11,7 @@ pipeline{
stages{
stage('拉取git仓库代码'){
steps{
- echo '拉取git仓库代码 - SUCCESS'
+ checkout scmGit(branches: [[name: '*/${tag}']], extensions: [], userRemoteConfigs: [[credentialsId: '184a2c7a-1d7b-448f-90c4-3474c395c7b3', url: 'http://110.42.248.201:30000/chl/mytest.git']])
}
stage('通过maven构建项目'){