提交 4aeaf73e 编写于 作者: zhangsiyuan's avatar zhangsiyuan

Update uat-cloud.jenkinsfile

上级 37180628
...@@ -21,6 +21,7 @@ pipeline { ...@@ -21,6 +21,7 @@ pipeline {
} }
stage('SonarQube') { stage('SonarQube') {
steps{
withSonarQubeEnv('SonarQube') { withSonarQubeEnv('SonarQube') {
sh "${SONAR_SCANNER_HOME}/bin/sonar-scanner \ sh "${SONAR_SCANNER_HOME}/bin/sonar-scanner \
-Dsonar.projectKey=springboot-demo \ -Dsonar.projectKey=springboot-demo \
...@@ -31,6 +32,7 @@ pipeline { ...@@ -31,6 +32,7 @@ pipeline {
-Dsonar.sourceEncoding=UTF-8 \ -Dsonar.sourceEncoding=UTF-8 \
} }
} }
}
stage("Build"){ stage("Build"){
steps{ steps{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册