X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fglobal-templates-local-onap-java.yaml;h=5f2fafb5f3bffb67eacc8a43f06a3a9a97d16d6e;hb=290996453b6a6e1cd81abaf0837b3d4f0a299094;hp=3186731c821d38c6cbda0d11f322ce47bd7d2c63;hpb=c4bcd2d67a85456038cd22dd3dd7e3898d4310c3;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-local-onap-java.yaml b/jjb/onap/global-templates-local-onap-java.yaml index 3186731c..5f2fafb5 100644 --- a/jjb/onap/global-templates-local-onap-java.yaml +++ b/jjb/onap/global-templates-local-onap-java.yaml @@ -1,13 +1,15 @@ --- # This is a separate java verify template for the local ONAP repositories -# that are not push to ONAP upstream. +# that are not push to ONAP upstream. - job-template: name: 'local-onap-{project-name}-{stream}-verify-java' disabled_job_var: false - jdk-version: jdk8 + node: onap-ubuntu1804 disabled: '{obj:disabled_job_var}' concurrent: true + mvn_settings_xml_version: + mvn_params: properties: - logrotate @@ -16,13 +18,9 @@ project: 'local/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/openjdk-amd64 + default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' description: Java home - string: name: MVN_VERSION @@ -36,7 +34,14 @@ name: MVN default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn description: Path to mvn executable - + - string: + name: MVN_SETTINGS_XML_VERSION + default: '{mvn_settings_xml_version}' + description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version. + - string: + name: MVN_PARAMS + default: '{mvn_params}' + description: Maven build parameters scm: - git-scm-gerrit: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh @@ -57,4 +62,4 @@ builders: - shell: - !include-raw-escape: ../global/verify-jobs.sh + !include-raw-escape: ./verify-jobs.sh