https://github.com/rincedd/vagrant-xfvb
https://github.com/rincedd/vagrant-xfvb
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rincedd/vagrant-xfvb
- Owner: rincedd
- License: mit
- Created: 2015-01-21T17:47:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-07T08:47:19.000Z (almost 11 years ago)
- Last Synced: 2025-02-24T16:53:10.879Z (over 1 year ago)
- Language: Shell
- Size: 169 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jenkins slave to run browser tests in Chrome
Sets up a VirtualBox VM running a Jenkins slave in Ubuntu Linux that has a Chrome browser available. It is not headless,
so it has to be started on a machine with a GUI.
## Getting started
You will need [VirtualBox][1] and [Vagrant][2] to start the VM. To start the slave, follow these steps:
1. Add a new JNLP slave node to your master Jenkins. Set its home directory to `/home/jenkins`
2. Copy `config.yml.dist` to `config.yml`
3. Set the correct Jenkins master URL in `config.yml`
4. Set the slave's JNLP URL in `config.yml`, this should be something like `/computer//slave-agent.jnlp`
5. Set the slave's secret in `config.yml` as configured in Jenkins
6. Run `vagrant up`
7. The VM should fire up and show a black screen with a cursor. The slave is now waiting for instructions from the master.
[1]: https://www.virtualbox.org
[2]: https://www.vagrantup.com