Remove traces of Boron logic
[releng/builder.git] / jjb / sfc / sfc-python.yaml
1 ---
2 - project:
3     name: sfc-python
4     jobs:
5       - 'sfc-verify-python-{stream}'
6
7     stream:
8       - oxygen:
9           branch: 'master'
10           jdk: 'openjdk8'
11       - nitrogen:
12           branch: 'stable/nitrogen'
13           jre: 'openjdk8'
14       - carbon:
15           branch: 'stable/carbon'
16
17     project: 'sfc'
18
19 - job-template:
20     name: 'sfc-verify-python-{stream}'
21
22     project-type: freestyle
23     node: centos7-java-builder-2c-8g
24     concurrent: true
25
26     properties:
27       - opendaylight-infra-properties:
28           build-days-to-keep: '{build-days-to-keep}'
29
30     parameters:
31       - opendaylight-infra-parameters:
32           os-cloud: '{os-cloud}'
33           project: '{project}'
34           branch: '{branch}'
35           refspec: 'refs/heads/{branch}'
36           artifacts: '{archive-artifacts}'
37
38     scm:
39       - gerrit-trigger-scm:
40           refspec: '$GERRIT_REFSPEC'
41           choosing-strategy: 'gerrit'
42
43     wrappers:
44       - opendaylight-infra-wrappers:
45           build-timeout: '{build-timeout}'
46
47     triggers:
48       - gerrit-trigger-patch-submitted:
49           server: '{server-name}'
50           project: '{project}'
51           branch: '{branch}'
52           files: 'sfc-py/**'
53
54     builders:
55       - shell: |
56           virtualenv $WORKSPACE/venv-tox
57           source $WORKSPACE/venv-tox/bin/activate
58           PYTHON="$WORKSPACE/venv-tox/bin/python"
59           $PYTHON -m pip install tox argparse
60           tox --version
61           cd $WORKSPACE/sfc-py
62           tox
63           ./jenkins_build_package.sh
64
65     publishers:
66       - email-notification:
67           email-recipients: '{email-recipients}'
68           email-prefix: '[sfc]'