jenkins.plone.org/virtualenv: WIP

Gil Forcada <jenkins-z4DKO/[email protected]> Tue, 01 Aug 2017 15:48:59 -0700 (PDT)
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: jenkins.plone.org
Branch: refs/heads/virtualenv
Date: 2017-08-01T23:47:48+02:00
Author: Gil Forcada (gforcada) <[email protected]>
Commit: https://github.com/plone/jenkins.plone.org/commit/ebb6902366f6474c035c96321d384f752d7c9f1f

WIP

Files changed:
M jobs/jobs.yml
M jobs/scripts/5.x-tests.sh

diff --git a/jobs/jobs.yml b/jobs/jobs.yml
index 77e5705..1438a78 100644
--- a/jobs/jobs.yml
+++ b/jobs/jobs.yml
@@ -317,8 +317,13 @@
             branch: '{plone-version}'
 
     builders:
-        - shell:
-            !include-raw: scripts/5.x-tests.sh
+        - shining-panda:
+            build-environment: virtualenv
+            python-version: System-CPython-2.7
+            clear: true
+            nature: shell
+            command:
+                !include-raw: scripts/5.x-tests.sh
 
     publishers:
         - custom-junit-new
diff --git a/jobs/scripts/5.x-tests.sh b/jobs/scripts/5.x-tests.sh
index 60635e7..864da1e 100644
--- a/jobs/scripts/5.x-tests.sh
+++ b/jobs/scripts/5.x-tests.sh
@@ -1,6 +1,5 @@
 #!/bin/bash
-# buildout and core tests (no AT nor robot)
 sed -i 's/    mr.developer/    mr.developer\ngit-clone-depth = 100/' core.cfg
-$PYTHON27 bootstrap.py --setuptools-version 33.1.1 --buildout-version 2.8.0 -c jenkins.cfg
-bin/buildout -c jenkins.cfg
+pip install -r requirements.txt
+buildout -c jenkins.cfg
 bin/alltests --xml



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot