From aa34d3fc15c5644e236cb37ec60ae4757f2168cf Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 26 Oct 2015 09:51:33 -0400 Subject: [PATCH] use the already defined JJB_CONFIG Signed-off-by: Alfredo Deza --- jenkins-job-builder/build/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins-job-builder/build/build b/jenkins-job-builder/build/build index d819aebe..a89934a3 100644 --- a/jenkins-job-builder/build/build +++ b/jenkins-job-builder/build/build @@ -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 -- 2.39.5