Disable concurrent execution for push-upstream jobs
[infra/cicd.git] / jjb / global / global-templates-rebase.yaml
index a52b4433ba0a5987d60f72ba0ebcaf88ec7fa72e..58579421bfd3fe51233da96c5cf916010427b510 100644 (file)
@@ -7,6 +7,9 @@
 
     concurrent: false
 
+    properties:
+      - logrotate
+
     parameters:
       - project-parameters:
           project: '{project}'
           ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
           branch: '{branch}'
           refspec: ''
+          wipe_workspace: true
+          clean_before: false
 
     triggers:
       - onap-gerrit-trigger-change-merged:
           project: '{project}'
           branch: '{branch}'
           files: '**'
-          silent: true
-          silent-start: true
+      - timed: "@midnight"
+
+    wrappers:
+      - build-timeout:
+          timeout: 10
 
     builders:
       - shell:
           !include-raw-escape: ./rebase-jobs.sh
+
+    publishers:
+      - notify-slack:
+          slack-channel: '#infra'