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

reenable sonar check

parent 04496285
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,23 @@ pipeline {
sh 'mvn -s $MAVEN_SETTINGS clean install'
}
}
script {
try {
if (env.BRANCH_NAME == 'master') {
withSonarQubeEnv('sonarqube-ozg-sh'){
sh 'mvn sonar:sonar'
}
}
} catch (Exception e) {
unstable("SonarQube failed")
}
}
}
}
post {
always{
junit testResults: '**/target/surefire-reports/*.xml', skipPublishingChecks: true
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment