From 0a85053e15e8db8bdb62efe7ccf3bfbaac83a17c Mon Sep 17 00:00:00 2001 From: sido Date: Thu, 19 Jul 2018 23:40:57 +0200 Subject: [PATCH] fix(views): added key and index to loop through array --- molgenis-jenkins/Chart.yaml | 2 +- molgenis-jenkins/templates/config.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/molgenis-jenkins/Chart.yaml b/molgenis-jenkins/Chart.yaml index f352745..0fcd506 100755 --- a/molgenis-jenkins/Chart.yaml +++ b/molgenis-jenkins/Chart.yaml @@ -1,6 +1,6 @@ name: molgenis-jenkins home: https://jenkins.io/ -version: 0.6.1 +version: 0.6.2 appVersion: 2.121 description: Molgenis installation for the jenkins chart. sources: diff --git a/molgenis-jenkins/templates/config.tpl b/molgenis-jenkins/templates/config.tpl index 7cf094e..7e4a753 100644 --- a/molgenis-jenkins/templates/config.tpl +++ b/molgenis-jenkins/templates/config.tpl @@ -174,8 +174,8 @@ data: -{{- range $jobName, $job := $view.Jobs }} - $jobName +{{- range index, $job := .Jobs }} + $job {{- end }}