Skip to content

Instantly share code, notes, and snippets.

@txag1995
Created March 29, 2015 15:44
Show Gist options
  • Save txag1995/b6f5eec002cbe5944048 to your computer and use it in GitHub Desktop.
Save txag1995/b6f5eec002cbe5944048 to your computer and use it in GitHub Desktop.
Ship Job
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<com.coravy.hudson.plugins.github.GithubProjectProperty plugin="[email protected]">
<projectUrl>https://github.com/txag1995/chef-repo/</projectUrl>
</com.coravy.hudson.plugins.github.GithubProjectProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.ChoiceParameterDefinition>
<name>ENVIRONMENT</name>
<description></description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>dev</string>
<string>prod</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://github.com/txag1995/chef-repo.git</url>
<credentialsId>6fd7c85d-bd78-4795-8ab3-3f226aaa782c</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/master</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<browser class="hudson.plugins.git.browser.GithubWeb">
<url>https://github.com/txag1995/chef-repo</url>
</browser>
<submoduleCfg class="list"/>
<extensions/>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>knife spork environment check $ENVIRONMENT
knife environment from file $ENVIRONMENT.json</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers>
<io.chef.jenkins.ChefIdentityBuildWrapper plugin="[email protected]">
<jobIdentity>jenkins</jobIdentity>
</io.chef.jenkins.ChefIdentityBuildWrapper>
</buildWrappers>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment