Jenkinsfile

main
liangjiajie 1 year ago
parent 85eafb31d8
commit 26c7aa3c79

4
Jenkinsfile vendored

@ -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进行代码质量检测

@ -0,0 +1 @@
echo 123
Loading…
Cancel
Save