Disable concurrent execution for push-upstream jobs
[infra/cicd.git] / jjb / acumos / global-templates-acumos-push-upstream.yaml
index a424e7ddae26ecb85a4ddda556541f6c2881d09d..17f6854a46c20679b0087dd73840696fc1958f79 100644 (file)
@@ -1,31 +1,34 @@
 - job-template:
-    name: 'acumos-{project-name}-{stream}-push-upstream'
+    name: 'acumos-{project-name}-push-upstream'
 
-    node: onap-ubuntu1604
+    node: infra-build01-ubuntu1804
 
     disabled: false
 
-    concurrent: true
+    concurrent: false
 
     properties:
       - logrotate
 
     parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{branch}'
+      - string:
+          name: PROJECT
+          default: 'acumos/{project}'
+          description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
       - nordix-gerrit-parameters
 
     scm:
       - git-scm-gerrit:
           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
+          branch: $GERRIT_BRANCH
           refspec: $GERRIT_REFSPEC
+          wipe_workspace: true
+          clean_before: false
 
     triggers:
       - nordix-gerrit-push-upstream:
           project: 'acumos/{project}'
-          branch: '{branch}'
+          branch: '**'
           files: '**'
 
     wrappers: