-
Bug
-
Resolution: Fixed
-
Major
-
None
-
U
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.
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
I have attached the system info for our system.
- is duplicated by
-
JENKINS-24425 Using both NodeJS and Rbenv build environment plugins, rbenv is unable to create .rbenv.lock directory
- Closed