File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -88,15 +88,6 @@ pipeline {
8888 }
8989 }
9090
91- stage(' Code Quality' ) {
92- steps {
93- echo ' Checking Code Quality on SonarCloud'
94- withCredentials([string(credentialsId : ' sonarcloud-key-apache-shiro' , variable : ' SONAR_TOKEN' )]) {
95- sh ' mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_shiro -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.login=${SONAR_TOKEN}'
96- }
97- }
98- }
99-
10091 stage(' Generate doc' ) {
10192 when {
10293 expression {
Original file line number Diff line number Diff line change @@ -89,6 +89,15 @@ pipeline {
8989 }
9090 }
9191
92+ stage(' Code Quality' ) {
93+ steps {
94+ echo ' Checking Code Quality on SonarCloud'
95+ withCredentials([string(credentialsId : ' sonarcloud-key-apache-shiro' , variable : ' SONAR_TOKEN' )]) {
96+ sh ' mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_shiro -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.login=${SONAR_TOKEN}'
97+ }
98+ }
99+ }
100+
92101 stage(' Generate doc' ) {
93102 when {
94103 expression {
You can’t perform that action at this time.
0 commit comments