From 07173921dcda9c82801cc4b80dfa3db110aa841c Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Thu, 2 Jun 2016 12:09:51 -0500 Subject: [PATCH] fix the example in the README on how to test and update jobs Signed-off-by: Andrew Schoen --- README.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 40cd1fcb..aefb0ef4 100644 --- a/README.rst +++ b/README.rst @@ -224,11 +224,15 @@ https://jenkins.ceph.com/user/ktdreyer/configure) Let's say this git branch makes a change in the ``my-cool-job`` job. -4. Run JJB to push your changes live to job on the master:: +4. Run JJB to test the syntax of your changes:: jenkins-jobs --conf ~/.jenkins_jobs.ini test my-cool-job/config/definitions/my-cool-job.yml -5. Run a throwaway build with your change, and verify that your change didn't +5. Run JJB to push your changes live to job on the master:: + + jenkins-jobs --conf ~/.jenkins_jobs.ini update my-cool-job/config/definitions/my-cool-job.yml + +6. Run a throwaway build with your change, and verify that your change didn't break anything and does what you want it to do. (Note: if anyone merges anything to master during this time, Jenkins will reset -- 2.47.3