summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Klozik <martin.klozik@tieto.com>2019-04-04 17:49:56 +0200
committerMartin Klozik <martin.klozik@tieto.com>2019-04-04 17:49:56 +0200
commitb04737e9629ca35111046d605fd51cb8d694d8e8 (patch)
tree5d8d56bb8930442e98538d8c7d840ba4350a94a3
parent6f38d02743d36ee5134168c76cd76772d9477ff8 (diff)
Update Sandbox instructions
Change git clone instructions according to ONAP Gerrit GUI clone hint, which works over https (no firewall/proxy issues) and as anonymous user. Update API Token instructions to reflect current Jenkins GUI behavior. Change-Id: I4254e09fa23d8d1b4ebebc9128cfcafe68172b35 Issue-ID: CIMAN-1 Signed-off-by: Martin Klozik <martin.klozik@tieto.com>
-rw-r--r--Sandbox_Setup.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/Sandbox_Setup.md b/Sandbox_Setup.md
index 9afb39d76..abdc7c73c 100644
--- a/Sandbox_Setup.md
+++ b/Sandbox_Setup.md
@@ -25,8 +25,9 @@ please send email to helpdesk@onap.org (LF helpdesk team)
To download **ci-management**, execute the following command to clone the
**ci-managment** repository.
-`git clone ssh://<LFID>@gerrit.onap.org:29418/ci-management --recursive && scp -p -P 29418 \
-<LFID>@gerrit.onap.org:hooks/commit-msg ci-management/.git/hooks/`
+`git clone https://gerrit.onap.org/r/ci-management && (cd ci-management && curl -Lo \
+$(git rev-parse --git-dir)/hooks/commit-msg https://gerrit.onap.org/r/tools/hooks/commit-msg; \
+chmod +x $(git rev-parse --git-dir)/hooks/commit-msg)`
Make sure to sync global-jjb submodule using:
@@ -72,7 +73,9 @@ ignore_cache=True
```
### How to retrieve 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 **Show API Token**.
+page by clicking on your 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.
To work on existing jobs or create new jobs, navigate to the `/jjb` directory where you
will find all job templates for the project. Follow the below commands to test,