INFRA: Update the slack options for projects
[infra/cicd.git] / jjb / global / global-templates-push-upstream.yaml
index 06528c8731e69e11e95b665e4fd08ed5930afe75..70048b9194fa8ddc0e27ea88fb58c0b863345000 100644 (file)
@@ -1,11 +1,14 @@
 - job-template:
-    name: '{project-name}-push-upstream'
+    name: '{project-name}-{stream}-push-upstream'
 
     node: onap-ubuntu1604
 
     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