# ONAP Integration > Bootstrap > Jenkins

Repo Location: integration.git/bootstrap/jenkins 

https://gerrit.onap.org/r/gitweb?p=integration.git;a=tree;f=bootstrap/jenkins


This directory contains a set of vagrant scripts that will automatically set up a Jenkins instance with predefined jobs to build all ONAP java code and docker images. This is intended to show a beginning ONAP developer how to set up and configure an environment that can successfully build ONAP code from scratch. It is not intended to be used as a production Jenkins CI/CD environment.

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.


  • No labels