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

prevent client tests beeing executed twice in master branch

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