Skip to content

Commit

Permalink
feat: add static code analysis stage to jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Apurva14A authored Nov 15, 2023
1 parent 5879fd4 commit ba1d4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pipeline {
}
steps {
withCredentials([string(credentialsId: 'sonarqube', variable: 'SONAR_AUTH_TOKEN')]) {
mvn sonar:sonar -Dsonar.login=$SONAR_AUTH_TOKEN -Dsonar.host.url=${SONAR_URL}'
sh 'mvn sonar:sonar -Dsonar.login=$SONAR_AUTH_TOKEN -Dsonar.host.url=${SONAR_URL}'
}
}

Expand Down

0 comments on commit ba1d4c2

Please sign in to comment.