fix(views): added key and index to loop through array
This commit is contained in:
parent
b31082c4f4
commit
0a85053e15
|
@ -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:
|
||||||
|
|
|
@ -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/>
|
||||||
|
|
Loading…
Reference in New Issue