OPENDEV: Add additional parameters to SCM module
[infra/cicd.git] / jjb / global / global-templates-push-upstream.yaml
index 7b5612e9cd8eb6cf8a778080be6f4319e09d540c..b3c0b483ac3da72fba505c54dbf601f8380bc265 100644 (file)
@@ -7,6 +7,9 @@
 
     concurrent: true
 
+    properties:
+      - logrotate
+
     parameters:
       - project-parameters:
           project: '{project}'
@@ -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:
@@ -32,3 +37,7 @@
     builders:
       - shell:
           !include-raw-escape: ./push-upstream-jobs.sh
+
+    publishers:
+      - notify-slack:
+          slack-channel: '#infra'