Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a stable plugin for Jenkins for running builds on VMs?

Travis CI has a really nice feature, builds are run within VirtualBox VMs. Each time a build is started, the box is refreshed from a snapshot and the code copied on to it. Any problems with the build cannot affect the host, and you can use any OS to run your builds on.

This would be really good, for example, compiling and testing code on a guest OS that matches your production env. Also, you can keep your host free of any installation dependencies you might need (e.g. a database server) and run ITs without worrying about things like port conflicts.

Does such a thing exist for Jenkins?

like image 495
Alex Collins Avatar asked Feb 24 '13 18:02

Alex Collins


People also ask

What is the latest version of Jenkins?

At the moment, the Jenkins releases 2.319. 3 and 2.332.


1 Answers

Check out the Vagrant Plugin https://wiki.jenkins-ci.org/display/JENKINS/Vagrant-plugin

This plugin allows booting of Vagrant virtual machines, provisioning them and also executing scripts inside of them

like image 98
Michael Küller Avatar answered Oct 12 '22 10:10

Michael Küller