Remove nitrogen branches in projects
[releng/builder.git] / jjb / sfc / sfc-python.yaml
index 60bbb303757436a8cc7fc0c51ad2eceb496483c8..ec17b9949bdd5855d21a78587ea16048ae7a6515 100644 (file)
@@ -2,65 +2,14 @@
 - project:
     name: sfc-python
     jobs:
-      - 'sfc-verify-python-{stream}'
+      - 'gerrit-tox-verify'
 
     stream:
-      - oxygen:
+      - fluorine:
           branch: 'master'
-      - nitrogen:
-          branch: 'stable/nitrogen'
-      - carbon:
-          branch: 'stable/carbon'
+      - oxygen:
+          branch: 'stable/oxygen'
 
     project: 'sfc'
-
-- job-template:
-    name: 'sfc-verify-python-{stream}'
-
-    project-type: freestyle
-    node: centos7-java-builder-2c-8g
-    concurrent: true
-
-    properties:
-      - opendaylight-infra-properties:
-          build-days-to-keep: '{build-days-to-keep}'
-
-    parameters:
-      - 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'
-
-    wrappers:
-      - opendaylight-infra-wrappers:
-          build-timeout: '{build-timeout}'
-
-    triggers:
-      - gerrit-trigger-patch-submitted:
-          gerrit-server-name: '{gerrit-server-name}'
-          project: '{project}'
-          branch: '{branch}'
-          files: 'sfc-py/**'
-
-    builders:
-      - 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]'
+    project-name: 'sfc'
+    tox-dir: sfc-py