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"/> <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 $index, $job := .Jobs }} {{- range $index, $job := $view }}
<string>{{ .name }}</string> <string>{{ $job }}</string>
{{- end }} {{- end }}
</jobNames> </jobNames>
<jobFilters/> <jobFilters/>
@ -193,7 +193,7 @@ data:
</listView> </listView>
{{- end }} {{- end }}
</views> </views>
<primaryView>dev</primaryView> <primaryView>{{ .Values.Master.DefaultView }}</primaryView>
<slaveAgentPort>50000</slaveAgentPort> <slaveAgentPort>50000</slaveAgentPort>
<disabledAgentProtocols> <disabledAgentProtocols>
{{- range .Values.Master.DisabledAgentProtocols }} {{- range .Values.Master.DisabledAgentProtocols }}

View File

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