jobs:
- 'sfc-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'
project: 'sfc'
- jdk: 'openjdk7'
- job-template:
name: 'sfc-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}'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- gerrit:
builders:
- shell: |
- cd sfc-py
+ virtualenv $WORKSPACE/venv-tox
+ source $WORKSPACE/venv-tox/bin/activate
+ pip install tox argparse
+ tox --version
+ cd $WORKSPACE/sfc-py
tox
+ ./jenkins_build_package.sh
publishers:
- email-notification: