Skip to content
Snippets Groups Projects
Commit 426fef35 authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Fix Jenkins not pointing to proper default branch for sonar scan check

parent b8b738e5
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
stage('Build with Sonarcloud scan') { stage('Build with Sonarcloud scan') {
when { when {
branch 'main' branch 'master'
} }
steps { steps {
container('buildcontainer') { container('buildcontainer') {
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
stage('Build without Sonarcloud scan') { stage('Build without Sonarcloud scan') {
when { when {
not { not {
branch 'main' branch 'master'
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment