Chef- jenkins integration


#1

Hi

If there is any plugins available to integrate Jenkins with chef

provide the documents .


#2

Hi,

I don’t know what do you exactly mean by “integrate Jenkins with chef”, but
there is a jenkins cookbook maintained by opscode :

Cheers,

Pierre

On Wed, Oct 23, 2013 at 10:30 AM, chaithra chaithra.shekar@wipro.comwrote:

Hi

If there is any plugins available to integrate Jenkins with chef

provide the documents .


#3

Yeah, “Jenkins with chef” could be one of two things: using chef to
deploy jenkins, or using jenkins to do CI on chef cookbooks. For the
first way, there is actually a cloud deployment option now for Jenkins,
so really you can just play clickety-click in Reach and have a working
Jenkins box in a couple minutes. It even has a nice Rackspace skin.

I’m interested in setting up Jenkins to test cookbooks, using vagrant
openstack, testing multiple OS’s, using berkshelf, github integration,
etc… . If anybody has stood up something like this and wrote anything
down on what they did, it’d be appreciated.

On 10/23/2013 04:33 AM, Pierre Ozoux wrote:

Hi,

I don’t know what do you exactly mean by “integrate Jenkins with
chef”, but there is a jenkins cookbook maintained by opscode :
https://github.com/opscode-cookbooks/jenkins

Cheers,

Pierre

On Wed, Oct 23, 2013 at 10:30 AM, chaithra <chaithra.shekar@wipro.com
mailto:chaithra.shekar@wipro.com> wrote:

Hi

If there is any plugins available to integrate Jenkins with chef


provide the documents .

#4

For the later, I already thought about it.

You’ll need virtualisation inception or bare metal jenkins or openstack,
yes :slight_smile:

I would be interested to know also :slight_smile:

At one point @patrickdebois (veewee) created a ci server for the boxes
built by veewee (http://ci.veewee.org:8080/ - no longer online) As it is
the same kind of issues (put in jenkins scripts that are dealing with VM).
It might be interesting to hear his experience on that.

Cheers!

Pierre

http://seedrs.com/?utm_source=Portugal&utm_medium=Email&utm_campaign=Signature

*Pierre Ozoux | *System Administrator
pierre.ozoux@seedrs.com
*T *+351 967 184 553

http://twitter.com/seedrs
http://www.linkedin.com/company/seedrs?trk=hb_tab_compy_id_397364
http://facebook.com/seedrs [image: Inline image
1]http://blog.seedrs.com/

*Seedrs Limited is authorised and regulated by the Financial Conduct
Authority. *Seedrs Limited is a limited company, registered in England and
Wales (No. 06848016), with registered office at 2 Chapel Place, Rivington
Street, London EC2A 3DQ. This message and any attachments are confidential,
and may be protected by legal privilege. If this has been sent to you in
error please contact the sender as soon as possible. Seedrs does not
provide legal, financial or tax advice of any kind, and nothing in this
e-mail constitutes such advice. If you have any questions with respect to
legal, financial or tax matters relevant to your interactions with Seedrs,
you should consult a professional adviser.

On Wed, Oct 23, 2013 at 5:51 PM, Bryan Taylor btaylor@rackspace.com wrote:

Yeah, “Jenkins with chef” could be one of two things: using chef to
deploy jenkins, or using jenkins to do CI on chef cookbooks. For the first
way, there is actually a cloud deployment option now for Jenkins, so really
you can just play clickety-click in Reach and have a working Jenkins box in
a couple minutes. It even has a nice Rackspace skin.

I’m interested in setting up Jenkins to test cookbooks, using vagrant
openstack, testing multiple OS’s, using berkshelf, github integration,
etc… . If anybody has stood up something like this and wrote anything
down on what they did, it’d be appreciated.

On 10/23/2013 04:33 AM, Pierre Ozoux wrote:

Hi,

I don’t know what do you exactly mean by “integrate Jenkins with chef”,
but there is a jenkins cookbook maintained by opscode :
https://github.com/opscode-cookbooks/jenkins

Cheers,

Pierre

On Wed, Oct 23, 2013 at 10:30 AM, chaithra chaithra.shekar@wipro.comwrote:

Hi

If there is any plugins available to integrate Jenkins with chef

provide the documents .


#5

test kitchen is doing the same. you can trigger tk runs via jenkins. we
trigger foodcritic-> chefspec -> lxc based functional test via jenkins.
each stage depends on the success of earlier stage. jenkins itself is
controlled via chef. we use the community jenkins cookbook, and job lwrp to
configure our builds (we have chef code base, and several other services
running tests via jenkins, all configured by chef). the jenkins cookbook
also allows you to specify plugins. we use the ghprb plugin to
automatically build PRs.
The only scripts we had to build was our jenkins wrapper cookbook, which
creates all the jenkins job, adds plugins using the community cookbook’s
lwrp & attributes. We had to build a custom jenkins plugin for the auth (we
wanted to used the chef managed users to be available as jenkins user,
without giving jenkins access to /etc/shadow),

best
ranjib

On Wed, Oct 23, 2013 at 9:51 AM, Bryan Taylor btaylor@rackspace.com wrote:

Yeah, “Jenkins with chef” could be one of two things: using chef to
deploy jenkins, or using jenkins to do CI on chef cookbooks. For the first
way, there is actually a cloud deployment option now for Jenkins, so really
you can just play clickety-click in Reach and have a working Jenkins box in
a couple minutes. It even has a nice Rackspace skin.

I’m interested in setting up Jenkins to test cookbooks, using vagrant
openstack, testing multiple OS’s, using berkshelf, github integration,
etc… . If anybody has stood up something like this and wrote anything
down on what they did, it’d be appreciated.

On 10/23/2013 04:33 AM, Pierre Ozoux wrote:

Hi,

I don’t know what do you exactly mean by “integrate Jenkins with chef”,
but there is a jenkins cookbook maintained by opscode :
https://github.com/opscode-cookbooks/jenkins

Cheers,

Pierre

On Wed, Oct 23, 2013 at 10:30 AM, chaithra chaithra.shekar@wipro.comwrote:

Hi

If there is any plugins available to integrate Jenkins with chef

provide the documents .