]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
create a virtualenv for jenkins job builder
authorAlfredo Deza <alfredo@deza.pe>
Wed, 15 Oct 2014 16:48:58 +0000 (12:48 -0400)
committerAlfredo Deza <alfredo@deza.pe>
Wed, 15 Oct 2014 16:48:58 +0000 (12:48 -0400)
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
jjb/config/config

index da9bdc628986a4244ee9c413e1238c1222cb6fe5..eb4fb0bec31083c57e9f441600530e72a6012be2 100644 (file)
@@ -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