[chef] Re: Jenkins Chef recipe


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: Jenkins Chef recipe
  • Date: Mon, 16 Sep 2013 15:36:00 -0700

have you tried the plugins attribute? i am using it with ghprb plugins and we have a wrapper cookbooks that uses the jenkins_job (rails, and jvm) , and it works pretty smooth for me.


On Mon, Sep 16, 2013 at 3:22 PM, Michael Hayes < " target="_blank"> > wrote:
I've been trying to setup a recipe to install Jenkins, install two plugs (git and github) and then setup a repository to accept webhooks from.

Jenkins cli has an issue with my hostname that it tries to use in the url (which is not resolvable).

If I set my 'hostname' to '0.0.0.0' and run 'knife solo cook' on the recipe twice, it fails the first time and succeeds the second time.

Here's my recipe:
https://github.com/hayesmp/jenkinsbox-cookbook/blob/master/recipes/jenkins.rb

The question is, is there any way to get chef to do the entire jenkins setup before running my plugin install (an other setup), or do a simply have to run chef once (to a failure) and then a second time to success?




Archive powered by MHonArc 2.6.16.

§