FDIO: Fast Data Project introduction to Nordix
[infra/cicd.git] / jjb / global / global-templates-push-upstream.yaml
index 06528c8731e69e11e95b665e4fd08ed5930afe75..0cea40999d70ceacfe6d23d8cf5c894e25fce5b9 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
+      - ssh-agent-credentials:
+          users:
+            - 'infra-upstream-gerrit-ssh-passphrase'
+
     builders:
       - shell:
           !include-raw-escape: ./push-upstream-jobs.sh