Skip to content
Snippets Groups Projects
Commit ee27ecf6 authored by OZGCloud's avatar OZGCloud
Browse files

add sonarqube

parent 9c715e9d
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,14 @@ pipeline {
sh 'mvn --version'
sh 'mvn -s $MAVEN_SETTINGS clean install spring-boot:build-image -Dmaven.wagon.http.retryHandler.count=3'
}
script {
if (env.BRANCH_NAME == 'master') {
withSonarQubeEnv('sonarqube-ozg-sh'){
sh 'mvn sonar:sonar'
}
}
}
}
}
post {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment