X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fsfc%2Fsfc-python.yaml;h=1e091f525d1d9fd2df72a1e64876778039304c1f;hb=493cf226caf665a4dd999be9b2ebe3dc7b46584a;hp=7a3b3f87424c3c9060127f222337fb637831a35b;hpb=46313e991d5842b96d03f74dd153d07f2669e320;p=releng%2Fbuilder.git diff --git a/jjb/sfc/sfc-python.yaml b/jjb/sfc/sfc-python.yaml index 7a3b3f874..1e091f525 100644 --- a/jjb/sfc/sfc-python.yaml +++ b/jjb/sfc/sfc-python.yaml @@ -1,73 +1,68 @@ +--- - 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' + - oxygen: + branch: 'master' + jdk: 'openjdk8' + - nitrogen: + branch: 'stable/nitrogen' + jre: 'openjdk8' + - carbon: + branch: 'stable/carbon' 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}' + - 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-trigger-patch-submitted: - server: '{server-name}' - project: '{project}' - branch: '{branch}' - files: '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 + 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]' + - email-notification: + email-recipients: '{email-recipients}' + email-prefix: '[sfc]'