Fix issues with helm job, and use normal git choosing-strategy when
working with merges
Change-Id: I1560c965649441c0a4c885efb346368a5f2b2a28
diff --git a/jjb/sonar.yaml b/jjb/sonar.yaml
index 97d241c..344a1c2 100644
--- a/jjb/sonar.yaml
+++ b/jjb/sonar.yaml
@@ -57,10 +57,10 @@
scm:
- lf-infra-gerrit-scm:
git-url: '$GIT_URL/$GERRIT_PROJECT'
- refspec: '$GERRIT_REFSPEC'
+ refspec: ''
branch: '$GERRIT_BRANCH'
submodule-recursive: 'false'
- choosing-strategy: gerrit
+ choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
node: 'ubuntu16.04-basebuild-1c-2g'
@@ -101,7 +101,7 @@
scm:
- lf-infra-gerrit-scm:
git-url: '$GIT_URL/$GERRIT_PROJECT'
- refspec: 'refs/heads/$GERRIT_BRANCH'
+ refspec: '$GERRIT_REFSPEC'
branch: '$GERRIT_BRANCH'
submodule-recursive: 'false'
choosing-strategy: gerrit