Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View vagrant on the plugin site for more information.

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

The plugin is a complete re-write of the previous plugin made by rtyler

Features
  • Uses Vagrant 1.x version 2
  • Supports booting a Vagrant VM for your job
  • Execute scripts inside the VM as the "vagrant" user
  • Execute scripts inside the VM as the "root" user (via sudo)
  • Provision the Vagrant VM via the configured provisioner(s) from the Vagrantfile

Github repo
Open Github Issues

Major Known Issues

Currently none

Version History

v1.0.1 (2014.11.3) Initial release

  • No labels

6 Comments

  1. Unknown User (edovale)

    I started salivating when I came across this plugin. We use vagrant for development environments and find it to be an awesome tool. 

    However, if your jenkins deployment is running on EC2 then you are out of luck. Apparently it is not possible to use virtualization solutions of any kind on EC2. 

    I though I would let people know about this before the waste all the time I did.

    Awesome work Tyler.

  2. Unknown User (dup2)

    We tried to run this on a remote node connected as a slave to jenkins and got errors about the Vagrantfile not being found.

    Does this plugin support remote nodes? Would be very helpful ..

  3. Unknown User (bostonvaulter)

    I get the following error:Waiting for VM to boot. This can take a few minutes.
    Forcing shutdown of VM...
    Destroying VM and associated drives...
    FATAL: org.bouncycastle.asn1.ASN1InputStream.readObject()Lorg/bouncycastle/asn1/DERObject;
    java.lang.NoSuchMethodError: org.bouncycastle.asn1.ASN1InputStream.readObject()Lorg/bouncycastle/asn1/DERObject;Full log is at:

    https://gist.github.com/4340494

    Additionally it is not running my shell scripts at all. This is on Jenkins 1.494.

    1. Unknown User (bostonvaulter)

      The fix for this is to install Jenkins 1.487 as documented here:

      https://github.com/rtyler/vagrant-plugin/issues/26

  4. Unknown User (beefsalad)

    How do I get this plugin to use the vagrant I installed via gem?  This plugin (as it came) does not support VirtualBox 4.2, so I need to override the vagrant that came bundled with it.

  5. Unknown User (deanwarrenuk)

    Is this plugin still active, and is it the preferred way to use Vagrant with Jenkins?

    I assume Vagrant is installed on the slave machines and the plugin interacts with them?

    Also is there anyplans to allow the plugin to use Vagrant for VM snapshots?