trying to make java11 job specfic
[infra/cicd.git] / jjb / onap / global-templates-onap-java.yaml
index 5f79175d3d0496016821e5cf78f49755d5502568..dff9cf13130bfbdf08ba0efa2cfce7c0b914820f 100644 (file)
@@ -3,6 +3,8 @@
 
     node: onap-ubuntu1604
 
+    node_labels: onap-ubuntu1604
+
     disabled: false
 
     concurrent: true
       - logrotate
 
     parameters:
+      - string:
+          name: NODE_LABELS
+          default: '{node_labels}'
+          description: node to do build on
       - project-parameters:
           project: 'onap/{project}'
           branch: '{branch}'
           default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
           description: Path to mvn executable
 
+
     scm:
       - git-scm-gerrit:
           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
           branch: '{branch}'
           refspec: $GERRIT_REFSPEC
+          wipe_workspace: true
+          clean_before: false
 
     triggers:
       - nordix-gerrit-trigger-patchset-created: