VirtualBox Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID virtualbox Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
0.7 (archives)
Oct 21, 2013
1.424
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Evgeny Mandrikov (id: godin)
Lars Gregori (id: choas)
Henri Gomez (id: hgomez)
Usage Installations 2014-Apr 614
2014-May 612
2014-Jun 617
2014-Jul 626
2014-Aug 644
2014-Sep 659
2014-Oct 658
2014-Nov 640
2014-Dec 624
2015-Jan 650
2015-Feb 636
2015-Mar 703

This plugin integrates Jenkins with VirtualBox (version 3, 4.0, 4.1, 4.2 and 4.3) virtual machine.

Configuration

VirtualBox cloud

The first step is the VirtualBox cloud configuration:

  1. Configure the VirtualBox server, that allows to remotely manage VMs, and start it.
    VBoxManage setproperty websrvauthlibrary null
    vboxwebsrv
  2. Manage Jenkins -> Configure System -> Cloud -> Add a new cloud -> VirtualBox
  3. Set Name, URL, Username and Password
  4. Test connection
    If it doesn't work, then you can try to disable authentication library by executing following command on VirtualBox host:
    VBoxManage setproperty websrvauthlibrary null
    If you got this error:
    Runtime modeler error: Wrapper class org.virtualbox_3_1.IWebsessionManagerLogon is not found. Have you run APT to generate them?

    Then you should upgrade Java (probably it is a bug in jax-ws). Also note that plugin was tested on Java 1.6.0_19.

VirtualBox slave

Now you can setup your nodes in Jenkins and use them to build your projects:

  1. Add Manage Jenkins -> Manage Nodes -> New Node
  2. Set Node name for VirtualBox Slave
  3. Select VirtualBox Host, Virtual Machine Name and Virtual Machine Type

TODO

  1. restore snaphot (beta version available in the github repository as branch (snap))
  2. build wrapper

Changelog

Version 0.7 (October 21, 2013)
  • Added VirtualBox 4.3 support
Version 0.6 (October 7, 2012)
Version 0.5 (September 21, 2012)
Version 0.4.6 (March 1, 2012)
  • Added Virtual Machine Types 'gui' and 'sdl' (issue #9752)
Version 0.4.4 (February 22, 2012)
  • Added support for VirtualBox version 4.0 and 4.1 (issue #8634)
Version 0.2.1 (April 27, 2010)
  • Fixed critical bug, which prevented creation of node (issue #6375)
Version 0.2 (April 18, 2010)
  • Used official virtualbox library, reimplemented launch process
  • Fixed delegation to user-specified launcher (issue #6276)
  • Added type of start - headless or vrdp (issue #6279)
  • VirtualBoxBuildWrapper disabled
Version 0.1 (April 12, 2010)
  • Added VirtualBoxBuildWrapper
  • Added VirtualBoxSlave
  • Tested on VirtualBox 3.1.6 r59338, Jenkins 1.346, Java 1.6.0_19
  • First version published

Labels

Edit
plugin-slaves plugin-slaves Delete
plugin-buildwrapper plugin-buildwrapper Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment