Disable concurrent execution for push-upstream jobs
[infra/cicd.git] / jjb / global / global-templates-push-upstream.yaml
index cde2a836058691698d2132fd02e4df71c999b1f1..5241119c1773fa1e82537b648bcb340751d1809d 100644 (file)
@@ -5,7 +5,10 @@
 
     disabled: false
 
-    concurrent: true
+    concurrent: false
+
+    properties:
+      - logrotate
 
     parameters:
       - project-parameters:
@@ -18,6 +21,8 @@
           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
           branch: '{branch}'
           refspec: $GERRIT_REFSPEC
+          wipe_workspace: true
+          clean_before: false
 
     triggers:
       - nordix-gerrit-push-upstream:
           branch: '{branch}'
           files: '**'
 
+    wrappers:
+      - build-timeout:
+          timeout: 10
+
     builders:
       - shell:
           !include-raw-escape: ./push-upstream-jobs.sh
+
+    publishers:
+      - notify-slack:
+          slack-channel: '#infra'