X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fsfc%2Fsfc-python.yaml;h=ee2489e762cba06f221de852e310e298bb459f88;hb=e8a56411730412990a7ad3ef97bcee5643d981a9;hp=8b5b7cc126d514bcab4816d4a86a5c12b0a17b27;hpb=660328bcb69924afc26487bc1d0a8420f0962457;p=releng%2Fbuilder.git diff --git a/jjb/sfc/sfc-python.yaml b/jjb/sfc/sfc-python.yaml index 8b5b7cc12..ee2489e76 100644 --- a/jjb/sfc/sfc-python.yaml +++ b/jjb/sfc/sfc-python.yaml @@ -1,17 +1,21 @@ +--- - project: name: sfc-python jobs: - - 'sfc-verify-python-{stream}' + - 'sfc-verify-python-{stream}' # stream: release stream (eg. stable-boron or beryllium) # branch: git branch (eg. stable/boron or master) stream: - - carbon: - branch: 'master' - - boron: - branch: 'stable/boron' - - beryllium: - branch: 'stable/beryllium' + - nitrogen: + branch: 'master' + jre: 'openjdk8' + - carbon: + branch: 'stable/carbon' + - boron: + branch: 'stable/boron' + - beryllium: + branch: 'stable/beryllium' project: 'sfc' @@ -30,61 +34,45 @@ 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}' + properties: + - opendaylight-infra-properties: + build-days-to-keep: '{build-days-to-keep}' parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' + - 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' + - gerrit-trigger-scm: + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - - gerrit: - server-name: 'OpenDaylight' - trigger-on: - - patchset-created-event: - exclude-drafts: 'true' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'true' - - 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/** + - 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 - pip install tox argparse - tox --version - cd $WORKSPACE/sfc-py - tox - ./jenkins_build_package.sh + - 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]' + - email-notification: + email-recipients: '{email-recipients}' + email-prefix: '[sfc]'