Skip to content

Comments

Fix SonarQube integration in Jenkinsfile#78

Open
bhaskarj13 wants to merge 7 commits intopraveen1994dec:mainfrom
bhaskarj13:main
Open

Fix SonarQube integration in Jenkinsfile#78
bhaskarj13 wants to merge 7 commits intopraveen1994dec:mainfrom
bhaskarj13:main

Conversation

@bhaskarj13
Copy link

Added this stage just before stage('Docker Push')

stage('SonarQube Analysis') {
when { expression { params.action == 'create' } }
steps {
withSonarQubeEnv('sonarqube') {
sh 'mvn clean verify sonar:sonar'
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant