Filip Pytloun | 8bfd2bf | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <hudson> |
| 3 | <disabledAdministrativeMonitors/> |
| 4 | <version>1.0</version> |
| 5 | <numExecutors>2</numExecutors> |
| 6 | <mode>{{ pillar.jenkins.master.mode }}</mode> |
| 7 | <useSecurity>true</useSecurity> |
| 8 | <authorizationStrategy class="hudson.security.FullControlOnceLoggedInAuthorizationStrategy"/> |
| 9 | <securityRealm class="hudson.security.HudsonPrivateSecurityRealm"> |
| 10 | <disableSignup>true</disableSignup> |
| 11 | <enableCaptcha>false</enableCaptcha> |
| 12 | </securityRealm> |
| 13 | <disableRememberMe>false</disableRememberMe> |
| 14 | <projectNamingStrategy class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/> |
| 15 | <workspaceDir>${ITEM_ROOTDIR}/workspace</workspaceDir> |
| 16 | <buildsDir>${ITEM_ROOTDIR}/builds</buildsDir> |
| 17 | <markupFormatter class="hudson.markup.RawHtmlMarkupFormatter" plugin="antisamy-markup-formatter@1.1"> |
| 18 | <disableSyntaxHighlighting>false</disableSyntaxHighlighting> |
| 19 | </markupFormatter> |
| 20 | <jdks/> |
| 21 | <viewsTabBar class="hudson.views.DefaultViewsTabBar"/> |
| 22 | <myViewsTabBar class="hudson.views.DefaultMyViewsTabBar"/> |
| 23 | <clouds/> |
| 24 | <slaves> |
| 25 | {%- if pillar.jenkins.master.slaves is defined %} |
| 26 | {%- for slave in pillar.jenkins.master.slaves %} |
| 27 | <slave> |
| 28 | <name>{{ slave.name }}</name> |
| 29 | <description></description> |
| 30 | <remoteFS>/var/lib/jenkins</remoteFS> |
| 31 | <numExecutors>{{ slave.executors }}</numExecutors> |
| 32 | <mode>{%- if slave.mode is defined %}{{ slave.mode }}{%- else %}NORMAL{%- endif %}</mode> |
| 33 | <retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/> |
| 34 | <launcher class="hudson.slaves.JNLPLauncher"/> |
| 35 | <label>{%- if slave.label is defined %}{{ slave.label }}{%- endif %}</label> |
| 36 | <nodeProperties> |
| 37 | <hudson.slaves.EnvironmentVariablesNodeProperty> |
| 38 | <envVars serialization="custom"> |
| 39 | <unserializable-parents/> |
| 40 | <tree-map> |
| 41 | <default> |
| 42 | <comparator class="hudson.util.CaseInsensitiveComparator"/> |
| 43 | </default> |
| 44 | <int>0</int> |
| 45 | </tree-map> |
| 46 | </envVars> |
| 47 | </hudson.slaves.EnvironmentVariablesNodeProperty> |
| 48 | <node-metadata plugin="metadata@1.0b"> |
| 49 | <values class="linked-list"/> |
| 50 | </node-metadata> |
| 51 | </nodeProperties> |
| 52 | <userId>admin</userId> |
| 53 | </slave> |
| 54 | {%- endfor %} |
| 55 | {%- endif %} |
| 56 | </slaves> |
| 57 | <scmCheckoutRetryCount>0</scmCheckoutRetryCount> |
| 58 | <views> |
| 59 | <hudson.model.AllView> |
| 60 | <owner class="hudson" reference="../../.."/> |
| 61 | <name>All</name> |
| 62 | <filterExecutors>false</filterExecutors> |
| 63 | <filterQueue>false</filterQueue> |
| 64 | <properties class="hudson.model.View$PropertyList"/> |
| 65 | </hudson.model.AllView> |
| 66 | {%- if pillar.jenkins.master.views is defined %} |
| 67 | {%- for view in pillar.jenkins.master.views %} |
| 68 | <listView> |
| 69 | <owner class="hudson" reference="../../.."/> |
| 70 | <name>{{ view.name }}</name> |
| 71 | <filterExecutors>false</filterExecutors> |
| 72 | <filterQueue>false</filterQueue> |
| 73 | <properties class="hudson.model.View$PropertyList"/> |
| 74 | <jobNames> |
| 75 | <comparator class="hudson.util.CaseInsensitiveComparator"/> |
| 76 | </jobNames> |
| 77 | <jobFilters/> |
| 78 | <columns> |
| 79 | <hudson.views.StatusColumn/> |
| 80 | <hudson.views.WeatherColumn/> |
| 81 | <hudson.views.JobColumn/> |
| 82 | <hudson.views.LastSuccessColumn/> |
| 83 | <hudson.views.LastFailureColumn/> |
| 84 | <hudson.views.LastDurationColumn/> |
| 85 | <hudson.views.BuildButtonColumn/> |
| 86 | </columns> |
| 87 | <includeRegex>{{ view.regex }}</includeRegex> |
| 88 | <recurse>false</recurse> |
| 89 | </listView> |
| 90 | {%- endfor %} |
| 91 | {%- endif %} |
| 92 | </views> |
| 93 | <primaryView>All</primaryView> |
Filip Pytloun | 214a77f | 2015-12-15 12:56:50 +0100 | [diff] [blame] | 94 | <slaveAgentPort>54906</slaveAgentPort> |
Filip Pytloun | 8bfd2bf | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 95 | <label>master</label> |
| 96 | <nodeProperties/> |
| 97 | <globalNodeProperties/> |
| 98 | </hudson> |