From: Alfredo Deza Date: Wed, 15 Oct 2014 16:48:58 +0000 (-0400) Subject: create a virtualenv for jenkins job builder X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=559da2540a2f517dd4b1513574a5f3943531c745;p=ceph-build.git create a virtualenv for jenkins job builder Signed-off-by: Alfredo Deza --- diff --git a/jjb/config/config b/jjb/config/config index da9bdc628..eb4fb0bec 100644 --- a/jjb/config/config +++ b/jjb/config/config @@ -6,10 +6,16 @@ # definitions. # +# Install Jenkins-jobs +virtualenv venv +. venv/bin/activate +venv/bin/pip install jenkins-job-builder +venv/bin/tox -rv -e docs + # Create the definitions testing them first -jenkins-jobs test definitions -o output +venv/bin/jenkins-jobs test definitions -o output # Update Jenkins with the output # Note that this needs proper permissions with the right credentials to the # correct Jenkins instance -jenkins-jobs update definitions +venv/bin/jenkins-jobs update definitions