1
0

fix(views): added key and index to loop through array

This commit is contained in:
sido 2018-07-19 23:40:57 +02:00
parent b31082c4f4
commit 0a85053e15
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
name: molgenis-jenkins name: molgenis-jenkins
home: https://jenkins.io/ home: https://jenkins.io/
version: 0.6.1 version: 0.6.2
appVersion: 2.121 appVersion: 2.121
description: Molgenis installation for the jenkins chart. description: Molgenis installation for the jenkins chart.
sources: sources:

View File

@ -174,8 +174,8 @@ data:
<properties class="hudson.model.View$PropertyList"/> <properties class="hudson.model.View$PropertyList"/>
<jobNames> <jobNames>
<comparator class="hudson.util.CaseInsensitiveComparator" reference="../../../listView/jobNames/comparator"/> <comparator class="hudson.util.CaseInsensitiveComparator" reference="../../../listView/jobNames/comparator"/>
{{- range $jobName, $job := $view.Jobs }} {{- range index, $job := .Jobs }}
<string>$jobName</string> <string>$job</string>
{{- end }} {{- end }}
</jobNames> </jobNames>
<jobFilters/> <jobFilters/>