Created
February 7, 2014 17:46
-
-
Save niku/8867832 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "hideo" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.network "forwarded_port", guest: 8080, host: 18080 | |
config.vm.provision "shell", inline: <<__EOS__ | |
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo apt-get update | |
sudo apt-get install jenkins -y | |
__EOS__ | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment