From 1f3463f03c50aa8b186aa7e971895330947cd7ea Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Mon, 7 Mar 2016 18:27:15 -0500 Subject: [PATCH] Convert bgpcep-pcepy python job template Use the releng {name}-verify-python-{stream} template for the integration-test verify-python job. Bug: 5424 Change-Id: I74e5c4259b22145515a6fcbe13a6a0890cbd73fc Signed-off-by: Thanh Ha --- jjb/bgpcep/bgpcep-pcepy.yaml | 17 +++++++ jjb/bgpcep/bgpcep-python.yaml | 91 ----------------------------------- 2 files changed, 17 insertions(+), 91 deletions(-) create mode 100644 jjb/bgpcep/bgpcep-pcepy.yaml delete mode 100644 jjb/bgpcep/bgpcep-python.yaml diff --git a/jjb/bgpcep/bgpcep-pcepy.yaml b/jjb/bgpcep/bgpcep-pcepy.yaml new file mode 100644 index 000000000..4cf2abe27 --- /dev/null +++ b/jjb/bgpcep/bgpcep-pcepy.yaml @@ -0,0 +1,17 @@ +- project: + name: bgpcep-pcepy + jobs: + - '{name}-verify-python-{stream}' + + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) + stream: + - boron: + branch: 'master' + - beryllium: + branch: 'stable/beryllium' + - stable-lithium: + branch: 'stable/lithium' + + toxdir: 'pcep/pcepy' + project: 'bgpcep' diff --git a/jjb/bgpcep/bgpcep-python.yaml b/jjb/bgpcep/bgpcep-python.yaml deleted file mode 100644 index ae7627367..000000000 --- a/jjb/bgpcep/bgpcep-python.yaml +++ /dev/null @@ -1,91 +0,0 @@ -- project: - name: bgpcep-python - jobs: - - 'bgpcep-verify-python-{stream}' - - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - stream: - - boron: - branch: 'master' - - beryllium: - branch: 'stable/beryllium' - - stable-lithium: - branch: 'stable/lithium' - - project: 'bgpcep' - -- job-template: - name: 'bgpcep-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: dynamic_verify - 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: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - scm: - - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - 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: 'bgpcep' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: pcep/pcepy/** - - builders: - - shell: | - virtualenv $WORKSPACE/venv-tox - source $WORKSPACE/venv-tox/bin/activate - pip install tox argparse - tox --version - cd $WORKSPACE/pcep/pcepy - tox - - publishers: - - email-notification: - email-prefix: '[bgpcep]' -- 2.36.6