X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fglobal-templates-onap-java.yaml;h=b978452dc606a04c5f4eab187c48feb264aaf329;hb=0a2e213dc932ba328e4b9ce8c40a8cef93f91e5f;hp=5f79175d3d0496016821e5cf78f49755d5502568;hpb=e53f009e429bb4c792a1920f2c5ff71742f52250;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-onap-java.yaml b/jjb/onap/global-templates-onap-java.yaml index 5f79175d..b978452d 100644 --- a/jjb/onap/global-templates-onap-java.yaml +++ b/jjb/onap/global-templates-onap-java.yaml @@ -1,8 +1,6 @@ - job-template: name: 'onap-{project-name}-{stream}-verify-java' - node: onap-ubuntu1604 - disabled: false concurrent: true @@ -10,18 +8,24 @@ properties: - logrotate + jdk-version: jdk8 + parameters: - project-parameters: project: 'onap/{project}' branch: '{branch}' - nordix-gerrit-parameters + - label: + name: SLAVE_LABEL + default: 'onap-build-ubuntu1604-{jdk-version}' + description: 'Slave label to schedule this job on' - string: name: JAVA_HOME - default: /usr/lib/jvm/java-1.8.0-openjdk-amd64 + default: /usr/lib/jvm/openjdk-amd64 description: Java home - string: name: MVN_VERSION - default: 3.3.9 + default: 3.5.4 description: Maven version - string: name: MVN_URL @@ -37,6 +41,8 @@ ssh-credentials-id: nordixinfra-nordix-gerrit-ssh branch: '{branch}' refspec: $GERRIT_REFSPEC + wipe_workspace: true + clean_before: false triggers: - nordix-gerrit-trigger-patchset-created: