1
0

make default view configurable

This commit is contained in:
sido 2018-07-20 00:14:25 +02:00
parent e6523827e3
commit dcf6d3d137
2 changed files with 7 additions and 8 deletions

View File

@ -174,8 +174,8 @@ data:
<properties class="hudson.model.View$PropertyList"/>
<jobNames>
<comparator class="hudson.util.CaseInsensitiveComparator" reference="../../../listView/jobNames/comparator"/>
{{- range $index, $job := .Jobs }}
<string>{{ .name }}</string>
{{- range $index, $job := $view }}
<string>{{ $job }}</string>
{{- end }}
</jobNames>
<jobFilters/>
@ -193,7 +193,7 @@ data:
</listView>
{{- end }}
</views>
<primaryView>dev</primaryView>
<primaryView>{{ .Values.Master.DefaultView }}</primaryView>
<slaveAgentPort>50000</slaveAgentPort>
<disabledAgentProtocols>
{{- range .Values.Master.DisabledAgentProtocols }}

View File

@ -18,14 +18,13 @@ jenkins:
GitHub:
ClientID: ""
ClienSecret: ""
DefaultView: dev
Views:
dev:
Jobs:
- name: molgenis
- molgenis
ops:
Jobs:
- name: molgenis-ops-docker-httpd
- name: molgenis-ops-docker-maven
- molgenis-ops-docker-httpd
- molgenis-ops-docker-maven
Jobs: |-
molgenis: |-
<?xml version='1.1' encoding='UTF-8'?>