Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NOTE: the Jenkins instance is by default NOT SECURED, with the default admin user and password as "jenkins".


Once the Vagrant Jenkins VM has started, you should be able to navigate to http://localhost:8080/ to access the Jenkins environment.  The default username and password are jenkins/jenkins.

The Jenkins instance will have all the Java and Docker jobs created, but by default they are not running.  You can browse the job definitions of each job to see how each job is configured; this is useful to see, for example, what commands are used to build a particular set of docker images.  You can also manually trigger the defined jobs by clicking manually within the Jenkins UI.

If you wish to run all the defined jobs, there are convenient scripts availabe in the /vagrant/ directory within the VM.  To run them:

  • Log into the VM via the command line using the "vagrant ssh" command.
  • Once in the VM, switch user to "jenkins" with "sudo su -l jenkins".
  • Once switched to jenkins user, you can run the following scripts:
    • /vagrant/build-all-java.sh
    • /vagrant/build-all-docker.sh

These scripts will run trigger the Java jobs and all the Docker jobs, respectively.