Make Java version for CSIT jobs configurable
[releng/builder.git] / jjb / bgpcep / bgpcep-python.yaml
index 14fe151731c985bbf8fda15d6ac95e8d25934534..ae7627367019a64b19b565e85e03656a43eb13c7 100644 (file)
@@ -3,16 +3,17 @@
     jobs:
         - 'bgpcep-verify-python-{stream}'
 
-    # stream:    branch with - in place of / (eg. stable-helium)
-    # branch:    branch (eg. stable/helium)
+    # stream:    release stream (eg. stable-lithium or beryllium)
+    # branch:    git branch (eg. stable/lithium or master)
     stream:
-        - master:
+        - boron:
             branch: 'master'
+        - beryllium:
+            branch: 'stable/beryllium'
         - stable-lithium:
             branch: 'stable/lithium'
 
     project: 'bgpcep'
-    jdk: 'openjdk7'
 
 - job-template:
     name: 'bgpcep-verify-python-{stream}'
     # The purpose of this job template is to setup a ODL verify job
     #
     # Required Variables:
-    #     stream:    branch with - in place of / (eg. stable-helium)
-    #     branch:    branch (eg. stable/helium)
+    #     stream:    release stream (eg. stable-lithium or beryllium)
+    #     branch:    git branch (eg. stable/lithium or master)
 
     project-type: freestyle
     node: dynamic_verify
     concurrent: true
-    jdk: '{jdk}'
 
     logrotate:
         daysToKeep: '{build-days-to-keep}'
 
     builders:
         - shell: |
-            cd pcep/pcepy
+            virtualenv $WORKSPACE/venv-tox
+            source $WORKSPACE/venv-tox/bin/activate
+            pip install tox argparse
+            tox --version
+            cd $WORKSPACE/pcep/pcepy
             tox
 
     publishers:
         - email-notification:
             email-prefix: '[bgpcep]'
-