- project: name: sfc-python jobs: - 'sfc-verify-python-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) stream: - carbon: branch: 'master' - boron: branch: 'stable/boron' - beryllium: branch: 'stable/beryllium' 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-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) project-type: freestyle node: centos7-java-builder-2c-8g concurrent: true logrotate: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - opendaylight-infra-parameters: 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: server-name: 'OpenDaylight' trigger-on: - patchset-created-event: exclude-drafts: 'false' exclude-trivial-rebase: 'false' exclude-no-code-change: 'false' - draft-published-event - comment-added-contains-event: comment-contains-value: 'recheck' - comment-added-contains-event: comment-contains-value: 'reverify' projects: - project-compare-type: 'ANT' project-pattern: 'sfc' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' file-paths: - compare-type: ANT pattern: sfc-py/** builders: - shell: | 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-prefix: '[sfc]'