jenkins-job-builder/tests/builders/fixtures/saltstack-full.xml
Mike Dorman e8f338b49a Add support for Saltstack plugin builder
Add support for the Saltstack plugin builder in Jenkins.
Requires the Jenkins Saltstack Plugin.

Change-Id: Ic2c1c5bf2a7f75ae2e2da83b293f44d02d8d3322
Story: 2000766
2016-12-09 16:55:37 -07:00

76 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<builders>
<com.waytta.SaltAPIBuilder>
<servername>{{SALT_MASTER}}</servername>
<credentialsId>credentials ID</credentialsId>
<authtype>pam</authtype>
<target>{{HOSTS}}</target>
<targettype>list</targettype>
<clientInterface>runner</clientInterface>
<function>pkg.update</function>
<arguments/>
<kwarguments/>
<usePillar>true</usePillar>
<pillarkey>pkey</pillarkey>
<pillarvalue>pvalue</pillarvalue>
<blockbuild>true</blockbuild>
<jobPollTime>10</jobPollTime>
<batchSize>100%</batchSize>
<mods>runner_mods</mods>
<saveEnvVar>true</saveEnvVar>
<clientInterfaces>
<nullObject>false</nullObject>
<properties class="org.apache.commons.collections.map.ListOrderedMap" serialization="custom">
<org.apache.commons.collections.map.ListOrderedMap>
<default>
<insertOrder>
<string>mods</string>
<string>clientInterface</string>
<string>usePillar</string>
</insertOrder>
</default>
<map>
<entry>
<string>mods</string>
<string>runner_mods</string>
</entry>
<entry>
<string>clientInterface</string>
<string>runner</string>
</entry>
<entry>
<string>usePillar</string>
<net.sf.json.JSONObject>
<nullObject>false</nullObject>
<properties class="org.apache.commons.collections.map.ListOrderedMap" serialization="custom">
<unserializable-parents/>
<org.apache.commons.collections.map.ListOrderedMap>
<default>
<insertOrder>
<string>pillarkey</string>
<string>pillarvalue</string>
</insertOrder>
</default>
<map>
<entry>
<string>pillarkey</string>
<string>pkey</string>
</entry>
<entry>
<string>pillarvalue</string>
<string>pvalue</string>
</entry>
</map>
</org.apache.commons.collections.map.ListOrderedMap>
</properties>
</net.sf.json.JSONObject>
</entry>
</map>
</org.apache.commons.collections.map.ListOrderedMap>
</properties>
</clientInterfaces>
</com.waytta.SaltAPIBuilder>
</builders>
</project>