|
|
@@ -21,7 +21,7 @@ pipeline{
|
|
|
}
|
|
|
stage('通过SonarQube做代码质量检测'){
|
|
|
steps{
|
|
|
- echo '通过SonarQube做代码质量检测 - SUCCESS'
|
|
|
+ sh '/var/jenkins_home/sonar-scanner/bin/sonar-scanner -Dsonar.source=./ -Dsonar.projectname=${JOB_NAME} -Dsonar.projectKey=${JOB_NAME} -Dsonar.java.binaries=./target/ -Dsonar.login=b5071fbe332d4863b0c96b0d648593b23ec8d6c8'
|
|
|
}
|
|
|
}
|
|
|
stage('通过Docker制作自定义镜像'){
|