INFRA: Switch to tox for JJB verify and merge jobs
[infra/cicd.git] / jjb / opendaylight / global-templates-opendaylight-rebase.yaml
index 0f1c5c7cfb89fdb12a8470ee9ec5f02c5ba4ca7b..71be8982f7e215ebaade5eadca1946135b369dcf 100644 (file)
@@ -1,7 +1,7 @@
 - job-template:
-    name: 'opendaylight-{project-name}-{stream}-rebase'
+    name: 'opendaylight-{project-name}-rebase'
 
-    node: infra-build01-ubuntu1804
+    node: infra-ubuntu1804
 
     disabled: false
 
       - logrotate
 
     parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{branch}'
       - odl-gerrit-parameters
+      - string:
+          name: PROJECT
+          default: '{project}'
+          description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
       - string:
           name: NORDIX_REMOTE
           default: 'ssh://infra@gerrit.nordix.org:29418/opendaylight/{project}.git'
     scm:
       - git-scm:
           ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
-          branch: '{branch}'
+          branch: 'master'
           refspec: ''
-          wipe_workspace: true
-          clean_before: false
+          wipe_workspace: false
+          clean_before: true
 
     triggers:
       - odl-gerrit-trigger-change-merged:
           project: '{project}'
-          branch: '{branch}'
+          branch: '**'
           files: '**'
       - timed: "@midnight"
 
@@ -46,3 +47,7 @@
     publishers:
       - notify-slack:
           slack-channel: '#infra'
+          notify-start: false
+          notify-success: false
+          notify-failure: true
+          notify-back-to-normal: true