Update JJB calls to only do jobs 05/15405/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 26 Apr 2019 15:27:51 +0000 (08:27 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 26 Apr 2019 15:27:51 +0000 (08:27 -0700)
Our sandbox Jenkins systems do not allow non-admins the ability to
manage views. As such, the documentation should not give generic
commands that by default also push jobs.

Change-Id: I30d6a7f4d884b8f25516739cac5eb3e3a98f7055
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
docs/jenkins-sandbox.rst

index 56044d2..dd9a00a 100644 (file)
@@ -208,13 +208,13 @@ following command to push the job to the Sandbox:
 
 .. code-block:: bash
 
-   jenkins-jobs update jjb/ <job-name>
+   jenkins-jobs update -j jjb/ <job-name>
 
 For Example:
 
 .. code-block:: bash
 
-   jenkins-jobs update jjb/ ci-management-jjb-merge
+   jenkins-jobs update -j jjb/ ci-management-jjb-merge
 
 Delete a Job
 ^^^^^^^^^^^^
@@ -223,13 +223,13 @@ Execute the following command to Delete a job from Sandbox:
 
 .. code-block:: bash
 
-   jenkins-jobs delete jjb/ <job-name>
+   jenkins-jobs delete -j jjb/ <job-name>
 
 For Example:
 
 .. code-block:: bash
 
-   jenkins-jobs delete jjb/ ci-management-jjb-merge
+   jenkins-jobs delete -j jjb/ ci-management-jjb-merge
 
 You can also delete the job from the UI options in Jenkins Sandbox.