Jenkins Guide
#############
+Jenkins Sandbox
+===============
+
Sandbox Overview
-================
+----------------
The Jenkins Sandbox has similar configuration to the production instance.
It cannot publish artifacts or vote in Gerrit which makes it a safe environment
- Jenkins nodes have OpenStack configuration similarly to the production instance
How to get access to the Sandbox
-==============================================
+--------------------------------
The Sandbox provides a testing/experimentation environment used before
pushing job templates to the production instance.
Jenkins.
Pushing jobs to the Sandbox
-===========================
+---------------------------
There are 2 supported ways to push jobs to the Sandbox the first one is easier and
does not require you to install anything to your local system and uses a jjb-deploy
where you will find all job templates for the project. Follow the below commands
to test, push or delete jobs in your Sandbox environment.
-To Test a Job
--------------
+Verify JJB
+^^^^^^^^^^
After you edit or create new job templates, test the job in the Sandbox
environment before you submit this job to production CI environment.
The output directory will contain files with the XML configurations.
-To Push a Job
----------------
+Push a Job
+^^^^^^^^^^
Ensure you have configured your jenkins.ini and verified it by outputting valid
XML descriptions of Jenkins jobs. Upon successful verification, execute the
jenkins-jobs --conf jenkins.ini update jjb/ ci-management-jjb-merge
-To Delete a Job
----------------
+Delete a Job
+^^^^^^^^^^^^
Execute the following command to Delete a job from Sandbox:
You can also delete the job from the UI options in Jenkins Sandbox.
-**Edit an Existing Job**
+Edit Job via Web UI
+-------------------
In the Sandbox, you can directly edit the job configuration by selecting
the job name and clicking on the Configure button.
INFO:jenkins_jobs.builder:Number of jobs generated: 1
-Executing jobs in the Sandbox
-=============================
+Execute jobs in the Sandbox
+---------------------------
Once you push the Jenkins job configuration to the Sandbox environment, run the
job from the Sandbox WebUI. Follow the below process to trigger the build: