engine: Update command line arguments to engine
[infra/cicd.git] / jjb / onap / global-templates-onap-rebase.yaml
index 3ae17f9ac68d19fdcc6507976835a622cf52db9e..723190a422a97191b0df803a752ad4e1ed5ac3b5 100644 (file)
@@ -1,5 +1,5 @@
 - job-template:
-    name: 'onap-{project-name}-{stream}-rebase'
+    name: 'onap-{project-name}-rebase'
 
     node: infra-ubuntu1804
 
       - logrotate
 
     parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{branch}'
       - onap-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/onap/{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:
       - onap-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