Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins - Docker integration

I'm looking for the best way to integrate Docker into Jenkins to execute build/test commands. The best source I have found is this blog post: http://blog.howareyou.com/post/62157486858/continuous-delivery-with-docker-and-jenkins-part-i

It basically offers to wrap all execution commands with "docker run".

I would like to see better integrations with Jenkins plugin but I couldn't find anything in this area. Could anyone suggest a good way to proceed? Is there any project on the way to address this?

Thanks

like image 240
Pini Reznik Avatar asked Oct 29 '13 10:10

Pini Reznik


1 Answers

There's a second blog post which goes into more detail about the setup. The missing piece was dockerize which makes the Jenkins & Docker integration painless. If you look into the Ruby app example, there's a Vagrantfile which will set everything up for you, use that as the starting point for your own setup.

like image 124
Gerhard Avatar answered Oct 01 '22 18:10

Gerhard