Last active
July 21, 2017 19:49
-
-
Save txag1995/6e07b6cef24712a6004f to your computer and use it in GitHub Desktop.
Accept Job
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/sample-cookbook/</projectUrl> | |
</com.coravy.hudson.plugins.github.GithubProjectProperty> | |
</properties> | |
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | |
<configVersion>2</configVersion> | |
<userRemoteConfigs> | |
<hudson.plugins.git.UserRemoteConfig> | |
<name>origin</name> | |
<refspec>+refs/pull/*:refs/remotes/origin/pr/*</refspec> | |
<url>https://github.com/txag1995/sample-cookbook.git</url> | |
</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/sample-cookbook/</url> | |
</browser> | |
<submoduleCfg class="list"/> | |
<extensions> | |
<hudson.plugins.git.extensions.impl.RelativeTargetDirectory> | |
<relativeTargetDir>cookbooks/${JOB_NAME}</relativeTargetDir> | |
</hudson.plugins.git.extensions.impl.RelativeTargetDirectory> | |
</extensions> | |
</scm> | |
<canRoam>true</canRoam> | |
<disabled>false</disabled> | |
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | |
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | |
<triggers> | |
<org.jenkinsci.plugins.ghprb.GhprbTrigger plugin="[email protected]"> | |
<spec>* * * * *</spec> | |
<adminlist>txag1995</adminlist> | |
<allowMembersOfWhitelistedOrgsAsAdmin>false</allowMembersOfWhitelistedOrgsAsAdmin> | |
<orgslist></orgslist> | |
<cron>* * * * *</cron> | |
<triggerPhrase></triggerPhrase> | |
<onlyTriggerPhrase>false</onlyTriggerPhrase> | |
<useGitHubHooks>false</useGitHubHooks> | |
<permitAll>false</permitAll> | |
<commentFilePath></commentFilePath> | |
<whitelist></whitelist> | |
<autoCloseFailedPullRequests>false</autoCloseFailedPullRequests> | |
<displayBuildErrorsOnDownstreamBuilds>false</displayBuildErrorsOnDownstreamBuilds> | |
<whiteListTargetBranches> | |
<org.jenkinsci.plugins.ghprb.GhprbBranch> | |
<branch></branch> | |
</org.jenkinsci.plugins.ghprb.GhprbBranch> | |
</whiteListTargetBranches> | |
<msgSuccess></msgSuccess> | |
<msgFailure></msgFailure> | |
<commitStatusContext></commitStatusContext> | |
<project>sample-cookbook-accept</project> | |
</org.jenkinsci.plugins.ghprb.GhprbTrigger> | |
</triggers> | |
<concurrentBuild>false</concurrentBuild> | |
<builders> | |
<hudson.tasks.Shell> | |
<command>knife cookbook test -o cookbooks/${JOB_NAME} -a</command> | |
</hudson.tasks.Shell> | |
<hudson.tasks.Shell> | |
<command>foodcritic -f any cookbooks/${JOB_NAME}</command> | |
</hudson.tasks.Shell> | |
<hudson.tasks.Shell> | |
<command>rubocop cookbooks/${JOB_NAME}</command> | |
</hudson.tasks.Shell> | |
<hudson.tasks.Shell> | |
<command>rspec -fd --color --default-path cookbooks/${JOB_NAME}/spec</command> | |
</hudson.tasks.Shell> | |
<hudson.tasks.Shell> | |
<command>cd cookbooks/${JOB_NAME} | |
kitchen test</command> | |
</hudson.tasks.Shell> | |
</builders> | |
<publishers/> | |
<buildWrappers> | |
<hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="[email protected]"> | |
<colorMapName>xterm</colorMapName> | |
</hudson.plugins.ansicolor.AnsiColorBuildWrapper> | |
<EnvInjectBuildWrapper plugin="[email protected]"> | |
<info> | |
<propertiesContent>PATH=/opt/chefdk/embedded/bin:$PATH | |
KITCHEN_YAML=.kitchen-docker.yml</propertiesContent> | |
<loadFilesFromMaster>false</loadFilesFromMaster> | |
</info> | |
</EnvInjectBuildWrapper> | |
</buildWrappers> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment