X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fglobal-templates-onap-java.yaml;h=7a3f2cecb34aebac71f4685d5cf266b4a3168428;hb=257536e56bdbafb8a5c1ef1707bca376a6c0197e;hp=d96a958788aab09e1e0a287995b17cb688f536f2;hpb=5433dc4478afcbc238eb7b4044ef239321e3fc59;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-onap-java.yaml b/jjb/onap/global-templates-onap-java.yaml index d96a9587..7a3f2cec 100644 --- a/jjb/onap/global-templates-onap-java.yaml +++ b/jjb/onap/global-templates-onap-java.yaml @@ -1,12 +1,10 @@ - job-template: name: 'onap-{project-name}-{stream}-verify-java' + disabled_job_var: false + node: onap-ubuntu1804 - node: onap-ubuntu1604 - - disabled: false - + disabled: '{obj:disabled_job_var}' concurrent: true - properties: - logrotate @@ -14,18 +12,14 @@ - project-parameters: project: 'onap/{project}' branch: '{branch}' - - string: - name: NODE - default: '{node}' - description: node to do build on - nordix-gerrit-parameters - string: name: JAVA_HOME - default: /usr/lib/jvm/java-1.8.0-openjdk-amd64 + default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' description: Java home - string: name: MVN_VERSION - default: 3.3.9 + default: 3.5.4 description: Maven version - string: name: MVN_URL @@ -36,7 +30,6 @@ default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn description: Path to mvn executable - scm: - git-scm-gerrit: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh @@ -57,4 +50,4 @@ builders: - shell: - !include-raw-escape: ../global/verify-jobs.sh + !include-raw-escape: ./verify-jobs.sh