jobs:
- 'sfc-verify-python-{stream}'
- # stream: branch with - in place of / (eg. stable-helium)
- # branch: branch (eg. stable/helium)
+ # stream: release stream (eg. stable-boron or beryllium)
+ # branch: git branch (eg. stable/boron or master)
stream:
- - master:
+ - carbon:
branch: 'master'
+ - boron:
+ branch: 'stable/boron'
+ - 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-boron or beryllium)
+ # branch: git branch (eg. stable/boron or master)
project-type: freestyle
- node: dynamic_verify
+ node: centos7-java-builder-2c-8g
concurrent: true
- jdk: '{jdk}'
logrotate:
daysToKeep: '{build-days-to-keep}'
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
- - gerrit-parameter:
branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
refspec: '$GERRIT_REFSPEC'
choosing-strategy: 'gerrit'
wrappers:
- - build-timeout
- - ssh-agent-credentials:
- user: '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- gerrit:
server-name: 'OpenDaylight'
trigger-on:
- patchset-created-event:
- exclude-drafts: 'false'
+ exclude-drafts: 'true'
exclude-trivial-rebase: 'false'
- exclude-no-code-change: 'false'
+ exclude-no-code-change: 'true'
- draft-published-event
- comment-added-contains-event:
comment-contains-value: 'recheck'
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:
+ email-recipients: '{email-recipients}'
email-prefix: '[sfc]'
-