]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
use the already defined JJB_CONFIG
authorAlfredo Deza <adeza@redhat.com>
Mon, 26 Oct 2015 13:51:33 +0000 (09:51 -0400)
committerAlfredo Deza <adeza@redhat.com>
Mon, 26 Oct 2015 13:51:33 +0000 (09:51 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
jenkins-job-builder/build/build

index d819aebe1d4fb8119124bb7ea44725d70c7036a6..a89934a3d0f002689bb69cd0dba78bfa670e5e15 100644 (file)
@@ -43,11 +43,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 $HOME/.jenkins_jobs.ini test $definitions_dir -o /tmp/output
+        venv/bin/jenkins-jobs --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 $HOME/.jenkins_jobs.ini update $definitions_dir
+        venv/bin/jenkins-jobs --conf $JJB_CONFIG update $definitions_dir
     fi
 done