Hello, I'm currently in the process of setting up a Jenkins instance on Debian to have our team play around and see how we can work with Jenkins. I have configured a Ruby plan that is able to checkout the source from our git, the problem is getting the ruby tests running. It keeps getting stuck on RVM, and I have no idea what is going wrong.
When I log in manually on the box, RVM etc is all working, but this is what I get in the log output of the Jenkins project: Started by user anonymous<http://172.16.253.137:8080/user/null> Building in workspace /var/lib/jenkins/workspace/Ruby_Example Checkout:Ruby_Example / /var/lib/jenkins/workspace/Ruby_Example - hudson.remoting.LocalChannel@7fb66659<mailto:hudson.remoting.LocalChannel@7fb66659> Using strategy: Default Last Built Revision: Revision 2d34e939cd57cc5c27d1762d3b93560be95e2033 (origin/HEAD, origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from g...@git.alaplaya.net:auth.git<mailto:g...@git.alaplaya.net:auth.git> Seen branch in repository origin/HEAD Seen branch in repository origin/master Commencing build of Revision 2d34e939cd57cc5c27d1762d3b93560be95e2033 (origin/HEAD, origin/master) Checking out Revision 2d34e939cd57cc5c27d1762d3b93560be95e2033 (origin/HEAD, origin/master) Warning : There are multiple branch changesets here Capturing environment variables produced by 'rvm use 1.9.3' $ bash -c export $ bash -c "test ! -f ~/.rvm/scripts/rvm" Installing RVM $ /var/lib/jenkins/workspace/Ruby_Example/rvm-installer /var/lib/jenkins/workspace/Ruby_Example/rvm-installer: line 376: /usr/local/rvm/RELEASE: Permission denied [Ruby_Example] $ bash -c "source ~/.rvm/scripts/rvm && rvm_install_on_use_flag=1 && rvm use --create 1.9.3 && export > rvm.env" bash: /var/lib/jenkins/.rvm/scripts/rvm: No such file or directory ERROR: Failed to setup RVM environment Finished<http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE What do I need to do in order to get this little project running... Arne De Herdt Software Engineer ProSiebenSat.1 Games GmbH Ein Unternehmen der / A company of ProSiebenSat.1 Media AG Medienallee 19 D-85774 Unterföhring Tel. +49 [89] 9507-8808 Fax +49 [89] 9507-98896 arne.de.he...@prosiebensat1games.com<mailto:arne.de.he...@prosiebensat1games.com> Geschäftsführer: Markus Büchtmann, Andreas Heyden, Achim Kaspers Firmensitz / Company Residence: München / Munich, Germany HRB 119657 AG München / Local Court in Munich, Germany