Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 786 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 786 Bytes

Vagrant Jenkins build

Run a Jenkins 2.25 instance on Ubuntu 16.04 LTS using vagrant.

Prerequisites

Installation

Build the vagrant box

vagrant up

To access the Jenkins server

http://localhost:8080

or, add the following line to the hosts file

127.0.0.1   jenkins.local

and then run the server with

http://jenkins.local:8080

First time accessing Jenkins

Since version 2.0 Jenkins has a security setup wizard when first running it after the installation.

SSH into the machine with

vagrant ssh

Locate the security password

cat /var/lib/jenkins/secrets/initialAdminPassword

and copy it into the password field on the Jenkins server.