Hi, I’m back on my jenkins/java project…
here is the github for the Jenkins recipe:
I’m having trouble configuring the jenkins recipe. This may be a very
basic chef question.
Here is the code:
the ‘jenkins_command’ calls end up using the wrong java_home and I get an
[2014-04-02T13:56:29-04:00] ERROR: jenkins_command[safe-restart]
(main::default line 27) had an error: Errno::ENOENT: No such file or
directory - opt/java/bin/java -jar /var/chef/cache/jenkins-cli.jar -s
as you can see in default.rb, I even try to set jenkins to the correct
But Jenkins doesn’t pick up this setting.
Am I configuring this properly? Or am I missing something basic?
It also seems wrong that I can’t simply pull in the java_home form the
environment I’m targeting, rather than hardcoding…
thanks for any help!