Use -m pip from python instead of pip directly
[releng/builder.git] / jjb / docs / docs-rtd.yaml
index 2aef3457a49ea983d8b3f3e3ea911acf43f18ee7..7cb2ceac3954e50ab491c2aa117e2e0810364b07 100644 (file)
@@ -7,12 +7,13 @@
       - '{project-name}-verify-tox-{stream}'
 
     stream:
-      - carbon:
+      - nitrogen:
           branch: 'master'
+          jre: 'openjdk8'
+      - carbon:
+          branch: 'stable/carbon'
       - boron:
           branch: 'stable/boron'
-      - beryllium:
-          branch: 'stable/beryllium'
 
     project: docs
     project-name: docs
@@ -72,6 +73,7 @@
     # FIXME: Describe this job in docs/jenkins.rst
     name: 'docs-verify-rtd-{stream}'
     node: centos7-java-builder-2c-8g
+    concurrent: true
 
     project-type: freestyle
 
       - shell: |
           virtualenv $WORKSPACE/venv
           source $WORKSPACE/venv/bin/activate
-          pip install --upgrade pip
-          pip freeze
-          pip install tox
+          PYTHON="$WORKSPACE/venv/bin/python"
+          $PYTHON -m pip install --upgrade pip
+          $PYTHON -m pip freeze
+          $PYTHON -m pip install tox
           tox -edocs
 
     publishers: