Change By: Ben Butler-Cole (18/Nov/13 9:18 PM)
Description: When both the NodeJS and RVM plugins are enabled for a single build, the build fails to run. It appears that the PATH accessible to the RVM plugin when it is setting up the environment is incorrect.  We have used each of the plugins separately in our environment and they work fine.

Here is example output from a build with nothing defined in it apart from enabling the two plugins.
 We have used each of the plugins separately in our environment and they work fine.

{code}
Started by user Ben Butler-Cole
[EnvInject] - Loading node environment variables.
Building remotely on civm02 in workspace /var/tmp/workspace/bbc-test
Capturing environment variables produced by 'rvm use 1.9.3@release'
$ bash -c export
$ bash -c "test -f ~/.rvm/scripts/rvm"
[bbc-test] $ bash -c " source ~/.rvm/scripts/rvm && rvm use --install --create 1.9.3@release && export > rvm.env"
/home/ubuntu/.rvm/scripts/rvm: line 67: dirname: command not found
/home/ubuntu/.rvm/scripts/rvm: line 96: dirname: command not found
ERROR: Missing proper 'which' command. Make sure it is installed before using RVM!
ERROR: Failed to setup RVM environment
[BFA] Scanning build for known causes...

[BFA] Done. 0s
Notifying upstream projects of job completion
Finished: FAILURE
{code}

I have attached the system info for our system.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to