Fix issues with helm job, and use normal git choosing-strategy when
working with merges
Change-Id: I1560c965649441c0a4c885efb346368a5f2b2a28
diff --git a/jjb/helm.yaml b/jjb/helm.yaml
index a72eb11..dbb08e3 100644
--- a/jjb/helm.yaml
+++ b/jjb/helm.yaml
@@ -38,10 +38,10 @@
scm:
- lf-infra-gerrit-scm:
git-url: '$GIT_URL/$GERRIT_PROJECT'
- refspec: 'refs/heads/$GERRIT_BRANCH'
+ refspec: ''
branch: '$GERRIT_BRANCH'
submodule-recursive: 'false'
- choosing-strategy: gerrit
+ choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
node: '{build-node}'
@@ -51,6 +51,7 @@
builders:
- shell: |
helm init --client-only
+ helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
./scripts/helmrepo.sh
# publish over ssh: https://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.ssh
@@ -59,5 +60,5 @@
site: 'CORD Wiki'
source: 'chart_repo/**'
remove-prefix: 'chart_repo'
- target: '//var/www/guide/charts/$GERRIT_BRANCH/'
+ target: '//var/www/guide/charts/$GERRIT_BRANCH'