Merge "Update of periodic-bgp-ingest-mixed template"
[releng/builder.git] / jjb / bgpcep / bgpcep-python.yaml
index ac8d0d117807afe628091c00b743393fd78caa2d..c7119d2d5cc5cd3a7dc223967cec5875946a82ac 100644 (file)
@@ -3,11 +3,13 @@
     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:
+        - beryllium:
             branch: 'master'
+        - stable-lithium:
+            branch: 'stable/lithium'
 
     project: 'bgpcep'
     jdk: 'openjdk7'
@@ -20,8 +22,8 @@
     # 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
@@ -49,7 +51,8 @@
     wrappers:
         - build-timeout
         - ssh-agent-credentials:
-            user: '{ssh-credentials}'
+            users:
+                - '{ssh-credentials}'
 
     triggers:
         - gerrit:
 
     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]'
-