--- - project: name: sfc-python jobs: - 'sfc-verify-python-{stream}' stream: - oxygen: branch: 'master' - nitrogen: branch: 'stable/nitrogen' - carbon: branch: 'stable/carbon' project: 'sfc' - job-template: name: 'sfc-verify-python-{stream}' 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: gerrit-server-name: '{gerrit-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]'