- project:
name: sfc-python
jobs:
- - 'sfc-verify-python-{stream}'
+ - 'gerrit-tox-verify'
- # stream: release stream (eg. stable-boron or beryllium)
- # branch: git branch (eg. stable/boron or master)
stream:
- - oxygen:
+ - fluorine:
branch: 'master'
- jdk: 'openjdk8'
+ - oxygen:
+ branch: 'stable/oxygen'
- nitrogen:
branch: 'stable/nitrogen'
- jre: 'openjdk8'
- - carbon:
- branch: 'stable/carbon'
- - boron:
- branch: 'stable/boron'
project: 'sfc'
-
-- job-template:
- name: 'sfc-verify-python-{stream}'
-
- # Job template for ODL verify jobs
- #
- # The purpose of this job template is to setup a ODL verify job
- #
- # Required Variables:
- # stream: release stream (eg. stable-boron or beryllium)
- # branch: git branch (eg. stable/boron or master)
-
- project-type: freestyle
- node: centos7-java-builder-2c-8g
- concurrent: true
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - opendaylight-infra-parameters:
- os-cloud: '{os-cloud}'
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - gerrit-trigger-patch-submitted:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
- files: 'sfc-py/**'
-
- builders:
- - shell: |
- virtualenv $WORKSPACE/venv-tox
- source $WORKSPACE/venv-tox/bin/activate
- PYTHON="$WORKSPACE/venv-tox/bin/python"
- $PYTHON -m 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]'
+ project-name: 'sfc'
+ tox-dir: sfc-py