Moves Code Quality stage into proper palcce
diff --git a/Jenkinsfile b/Jenkinsfile
index bb07e60..e05d54e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -54,14 +54,14 @@
}
}
}
- }
- stage('Code Quality') {
- when {
- branch 'master'
- }
- steps {
- withCredentials([string(credentialsId: 'asf-struts-sonarcloud', variable: 'SONARCLOUD_TOKEN')]) {
- sh 'mvn sonar:sonar -DskipAssembly -Dsonar.projectKey=apache_struts -Dsonar.organization=apache -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONARCLOUD_TOKEN}'
+ stage('Code Quality') {
+ when {
+ branch 'master'
+ }
+ steps {
+ withCredentials([string(credentialsId: 'asf-struts-sonarcloud', variable: 'SONARCLOUD_TOKEN')]) {
+ sh 'mvn sonar:sonar -DskipAssembly -Dsonar.projectKey=apache_struts -Dsonar.organization=apache -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONARCLOUD_TOKEN}'
+ }
}
}
}