Add update=jobs cfg to jenkins_jobs.ini example 74/13574/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 19 Nov 2018 03:03:05 +0000 (11:03 +0800)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 19 Nov 2018 03:06:04 +0000 (11:06 +0800)
This setting ensures folks don't accidently push up views to the
Jenkins Sandbox if they are using JJB 2.5.0 or newer. Setting does
nothing on older versions of JJB. This makes it so users do not have
to pass `jenkins-jobs update -j` to prevent views from uploading.

Change-Id: I8cf7d327829f35ebcf1af2afb329286f8e4127fb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/jenkins-sandbox.rst

index 437bde4..d25c0d4 100644 (file)
@@ -108,6 +108,7 @@ Configure the file ``~/.config/jenkins_jobs/jenkins_jobs.ini`` as follows:
    keep_descriptions=False
    recursive=True
    retain_anchors=True
+   update=jobs
 
    [jenkins]
    user=<Provide your Jenkins Sandbox user-id (LFID)>