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

remove "mark as unstable" on sonarqube

parent 1cb755e3
No related branches found
No related tags found
Loading
......@@ -64,16 +64,12 @@ pipeline {
else {
sh 'npm run ci-build'
}
try {
if (isMasterBranch()) {
withSonarQubeEnv('sonarqube-ozg-sh'){
sh 'npm run ci-sonar'
}
} else {
sh 'npm run ci-test'
if (isMasterBranch()) {
withSonarQubeEnv('sonarqube-ozg-sh'){
sh 'npm run ci-sonar'
}
} catch (Exception e) {
unstable("SonarQube failed")
} else {
sh 'npm run ci-test'
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment