summaryrefslogtreecommitdiffstats
path: root/Sandbox_Setup.md
diff options
context:
space:
mode:
authorLasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>2020-10-27 16:22:31 +0200
committerLasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>2020-10-27 16:22:31 +0200
commit8112091bdc7123f2e4d751f8296a7c6d9f2a1a3b (patch)
treed80e88b7bc0db1c9b950697afb637c859d7c3973 /Sandbox_Setup.md
parent8f3eb054e1c28290b46f2108952dbe44beb24951 (diff)
Update sandbox instructions
Issue-ID: CIMAN-392 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: Ia6b95ec4cf98dfbc172122f8400f37b2fb778797
Diffstat (limited to 'Sandbox_Setup.md')
-rw-r--r--Sandbox_Setup.md16
1 files changed, 7 insertions, 9 deletions
diff --git a/Sandbox_Setup.md b/Sandbox_Setup.md
index bd734c760..890410550 100644
--- a/Sandbox_Setup.md
+++ b/Sandbox_Setup.md
@@ -53,6 +53,7 @@ jenkins-jobs test --recursive jjb/
Backup the jenkins.ini.example to jenkins.ini
+`mkdir -p ~/.config/jenkins_jobs`
`cp jenkins.ini.example ~/.config/jenkins_jobs/jenkins_jobs.ini`
After copying the jenkins.ini.example, modify `jenkins.ini` with your
@@ -72,9 +73,10 @@ password= <Refer below steps to get API token>
url=https://jenkins.onap.org/sandbox
query_plugins_info=False
```
-### How to retrieve API token?
+### How to 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. Click **Configure** and then click **Add new Token**.
+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**.
After that specify a token name (optional) and click on **Generate** to generate and show
new token. Please note down your token and store it securely.
@@ -106,18 +108,14 @@ The output directory will contain files with the XML configurations.
## To Update a job:
-Ensure you’ve configured your `jenkins_jobs.ini` and verified it by
-outputting valid XML descriptions of Jenkins jobs. Upon successful
-verification, execute the following command to update the job to the
-Jenkins sandbox.
+Ensure you’ve configured your `jenkins_jobs.ini` and verified the changes by
+outputting valid XML descriptions of the relevant Jenkins jobs. Upon successful
+verification, execute the following command to update the job to the Jenkins sandbox.
`jenkins-jobs update jjb/ <job-name>`
**Example:** `jenkins-jobs update jjb/ sdc-master-verify-java`
-Note that there will be some 403 errors along the way for failed view creation attempts even
-when the job creation succeeds.
-
## Trigger jobs from Jenkins Sandbox:
Once you push the Jenkins job configuration to the ONAP Sandbox environment,