Skip to content

Instantly share code, notes, and snippets.

@samstokes
Created March 21, 2011 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samstokes/880255 to your computer and use it in GitHub Desktop.
Save samstokes/880255 to your computer and use it in GitHub Desktop.
Minimal Jenkins job to reproduce RVM Gemset PATH issue with rake-plugin
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description>https://github.com/jenkinsci/rake-plugin/issues/3</description>
<keepDependencies>false</keepDependencies>
<properties>
<com.coravy.hudson.plugins.github.GithubProjectProperty>
<projectUrl>https://github.com/jenkinsci/rake-plugin/</projectUrl>
</com.coravy.hudson.plugins.github.GithubProjectProperty>
</properties>
<scm class="hudson.scm.NullSCM"/>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers class="vector"/>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>cat &lt;&lt;RAKE &gt; Rakefile
desc &apos;Print out PATH&apos;
task :print_path do
puts &quot;My PATH is #{ENV[&apos;PATH&apos;]}&quot;
end
RAKE</command>
</hudson.tasks.Shell>
<hudson.plugins.rake.Rake>
<rakeInstallation>ruby-1.8.7-p334@dg</rakeInstallation>
<rakeFile></rakeFile>
<rakeLibDir></rakeLibDir>
<rakeWorkingDir></rakeWorkingDir>
<tasks>print_path</tasks>
<silent>false</silent>
</hudson.plugins.rake.Rake>
</builders>
<publishers/>
<buildWrappers/>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment