|
|
@ -12,9 +12,9 @@ pipeline {
|
|
|
|
checkout scmGit(branches: [[name: '${tag}']], extensions: [], userRemoteConfigs: [[url: 'https://git.mashibing.com/msb_134187/ljj_spring_test.git']])
|
|
|
|
checkout scmGit(branches: [[name: '${tag}']], extensions: [], userRemoteConfigs: [[url: 'https://git.mashibing.com/msb_134187/ljj_spring_test.git']])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Execute Shell Command') {
|
|
|
|
stage('maven') {
|
|
|
|
steps {
|
|
|
|
steps {
|
|
|
|
sh 'echo 123 > tt.txt'
|
|
|
|
sh './deploy.sh'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('sonar质量检测') { // 阶段3:使用Sonar进行代码质量检测
|
|
|
|
stage('sonar质量检测') { // 阶段3:使用Sonar进行代码质量检测
|
|
|
|