]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
jenkins-job-builder: diagnostics and allow to run on master 349/head
authorDan Mick <dan.mick@redhat.com>
Tue, 5 Apr 2016 20:22:00 +0000 (13:22 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 5 Apr 2016 20:23:15 +0000 (13:23 -0700)
Adding --log-level DEBUG to hope to point out problems, and allow
job to run on master so it runs without mita provisioning (it's small
and should be fast)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
jenkins-job-builder/build/build
jenkins-job-builder/config/definitions/jjb.yml

index 48f618420d279be7bdb6526878e646057c1bda02..d103a2f46c840af8b70bb69d2d75718e18887d74 100644 (file)
@@ -46,11 +46,11 @@ for dir in `find . -maxdepth 1 -path ./.git -prune -o -type d -print`; do
         echo "found definitions directory: $definitions_dir"
 
         # Test the definitions first
-        venv/bin/jenkins-jobs --conf $JJB_CONFIG test $definitions_dir -o /tmp/output
+        venv/bin/jenkins-jobs --log-level DEBUG --conf $JJB_CONFIG test $definitions_dir -o /tmp/output
 
         # Update Jenkins with the output if they passed the test phase
         # Note that this needs proper permissions with the right credentials to the
         # correct Jenkins instance.
-        venv/bin/jenkins-jobs --conf $JJB_CONFIG update $definitions_dir
+        venv/bin/jenkins-jobs --log-level DEBUG --conf $JJB_CONFIG update $definitions_dir
     fi
 done
index 2fff7d8e99d579302200321d55d1cb21d4120262..124fdd731fa3c66b049bcf73c94b1c178ffc4dc7 100644 (file)
@@ -1,6 +1,6 @@
 - job:
     name: jenkins-job-builder
-    node: small && trusty
+    node: (small && trusty) || master
     project-type: freestyle
     defaults: global
     display-name: 'Jenkins Job Builder'