X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=Sandbox_Setup.md;h=f7101c674c6bea4eabc9a093b4576d5d1a2ba7c2;hb=e67635cb851fc40b9d42638f6e108f1c194ef0f8;hp=c81c5f0ad31118802299fecdc0d5fa83683e318b;hpb=4a9fef0290775b902ffbe82ee80829d0faac41c9;p=ci-management.git diff --git a/Sandbox_Setup.md b/Sandbox_Setup.md index c81c5f0ad..f7101c674 100644 --- a/Sandbox_Setup.md +++ b/Sandbox_Setup.md @@ -36,7 +36,6 @@ Jenkins configurations to Sandbox environment, you must raise a ticket to - [Modify an Existing Job](#modify-an-existing-job) - [More online documentation](#more-online-documentation) - ## Setup To download **ci-management**, execute the following command to clone the @@ -69,7 +68,7 @@ jenkins-jobs test --recursive jjb/ ### Make a copy of the example JJB config file (in the ci-management/ directory) -Place a copy of the `jenkins.ini.example` file as `jenkins.ini` in your home folder: +Place a copy of the `jenkins.ini.example` file as `jenkins.ini` in your home folder: ```sh mkdir -p ~/.config/jenkins_jobs @@ -77,7 +76,7 @@ cp jenkins.ini.example ~/.config/jenkins_jobs/jenkins_jobs.ini ``` Modify the resulting `~/.config/jenkins_jobs/jenkins_jobs.ini` with your -**Jenkins LFID username** and **API token** +**Jenkins LFID username** and **API token**. Make sure that your account has the necessary permissions (request them via the [LFN help desk](https://jira.linuxfoundation.org/plugins/servlet/desk/portal/2/create/35) if not)! ```ini [job_builder] @@ -93,7 +92,9 @@ password= url=https://jenkins.onap.org/sandbox query_plugins_info=False ``` + ### Retrieve username and API token + Login to the [Jenkins Sandbox](https://jenkins.onap.org/sandbox/), go to your user page by clicking on your username - `Jenkins User ID` on this page is your Jenkins Sandbox username. Click **Configure** and then click **Add new Token**. @@ -103,7 +104,7 @@ new token. Please note down your token and store it securely. ## Working with jobs To work on existing jobs or create new jobs, navigate to the `ci-management/jjb/` directory where you -will find all job templates for the project. Follow the below commands to test, +will find all job templates for the project. Follow the below commands to test, update or delete jobs in your sandbox environment. ### Test a Job