Update jobs to use jjbuilder slave 41/32241/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 7 Jan 2016 23:08:47 +0000 (18:08 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 11 Jan 2016 16:19:04 +0000 (11:19 -0500)
- Set build slave to jjbuilder
- Explicitly set --recursive via cli since puppet config is not
  currently setting this option.
- Remove virtualenv since jjbuilder is using official packaged JJB

Change-Id: Id6cf9dd3b9f989eae2cfd7699f60486ee03d94aa
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/include-raw-jjb-update.sh
jjb/releng-jobs.yaml

index 0aa0c669a9f9f64de7de4eedb5276b83f7e585ff..84a91cb90b2d41991fe19671ae88234d84a38603 100644 (file)
@@ -1,5 +1,4 @@
-source /opt/virtualenv/jenkins-job-builder/bin/activate
-jenkins-jobs update --delete-old jjb/
+jenkins-jobs update --recursive --delete-old jjb/
 
 # Submit patches for any jobs that can be auto updated
 function submitJJB {
index 9d832311c983e69a7d0b50bfab9d85fbce75cf78..911ea271c67ff910ebe01fcbfa82a2f28fa13905 100644 (file)
@@ -15,6 +15,7 @@
 
 - job-template:
     name: builder-verify-jjb
+    node: jjbuilder
 
     project-type: freestyle
 
 
     builders:
         - shell: |
-            source /opt/virtualenv/jenkins-job-builder/bin/activate
             pip freeze
             python scripts/jjb-autoupdate-project.py
-            jenkins-jobs test -o job_output jjb/
+            jenkins-jobs test --recursive -o job_output jjb/
         - releng-check-unicode
 
     publishers:
 
 - job-template:
     name: 'builder-merge'
+    node: jjbuilder
 
     # builder-merge job to run JJB update
     #
 
 - job-template:
     name: 'builder-weekly'
+    node: jjbuilder
 
     # builder-weekly job to run JJB update weekly
     #
 
     builders:
         - shell: |
-            source /opt/virtualenv/jenkins-job-builder/bin/activate
-            jenkins-jobs --flush-cache update jjb/
+            jenkins-jobs --flush-cache update --recursive jjb/
 
     publishers:
         - email-notification: