Move jjb-version to templates 74/7274/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 3 Nov 2017 18:13:07 +0000 (14:13 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 3 Nov 2017 18:15:27 +0000 (14:15 -0400)
It appears that `job-group` definitions take priority over `project`
definitions. Move it to the template so that we can override the
parameter correctly.

Change-Id: I2b824e3cc89667698db8ebfdd3ce43f551e961d7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-ci-jobs.yaml

index 063b4b7..6f1784c 100644 (file)
@@ -2,8 +2,6 @@
 - job-group:
     name: '{project-name}-ci-jobs'
 
-    jjb-version: 1.6.2
-
     jobs:
       - gerrit-jjb-deploy-job
       - gerrit-jjb-merge
@@ -12,8 +10,6 @@
 - job-group:
     name: '{project-name}-github-ci-jobs'
 
-    jjb-version: 1.6.2
-
     jobs:
       - github-jjb-deploy-job
       - github-jjb-merge
 
     branch: master
     build-timeout: 10
+    jjb-version: 1.6.2
     stream: master
     submodule-recursive: true