robert.tomczyk | 2c6e308 | 2020-02-20 12:15:07 +0000 | [diff] [blame] | 1 | --- |
| 2 | # This is a separate java verify template for the local ONAP repositories |
afenner | 2909964 | 2020-08-28 16:09:31 +0100 | [diff] [blame] | 3 | # that are not push to ONAP upstream. |
robert.tomczyk | 2c6e308 | 2020-02-20 12:15:07 +0000 | [diff] [blame] | 4 | - job-template: |
| 5 | name: 'local-onap-{project-name}-{stream}-verify-java' |
robert.tomczyk | 19d1ad1 | 2020-03-23 16:35:32 +0000 | [diff] [blame] | 6 | disabled_job_var: false |
robert.tomczyk | 08e50eb | 2020-08-11 16:53:28 +0100 | [diff] [blame] | 7 | node: onap-ubuntu1804 |
robert.tomczyk | 2c6e308 | 2020-02-20 12:15:07 +0000 | [diff] [blame] | 8 | |
robert.tomczyk | 19d1ad1 | 2020-03-23 16:35:32 +0000 | [diff] [blame] | 9 | disabled: '{obj:disabled_job_var}' |
| 10 | concurrent: true |
robert.tomczyk | 750a20f | 2020-08-18 11:08:43 +0100 | [diff] [blame] | 11 | mvn_settings_xml_version: |
afenner | 2909964 | 2020-08-28 16:09:31 +0100 | [diff] [blame] | 12 | mvn_params: |
robert.tomczyk | c75d04b | 2020-11-09 13:28:21 +0000 | [diff] [blame] | 13 | mvn_version: 3.5.4 |
robert.tomczyk | 2c6e308 | 2020-02-20 12:15:07 +0000 | [diff] [blame] | 14 | properties: |
| 15 | - logrotate |
| 16 | |
robert.tomczyk | 2c6e308 | 2020-02-20 12:15:07 +0000 | [diff] [blame] | 17 | parameters: |
| 18 | - project-parameters: |
| 19 | project: 'local/onap/{project}' |
| 20 | branch: '{branch}' |
| 21 | - nordix-gerrit-parameters |
robert.tomczyk | 2c6e308 | 2020-02-20 12:15:07 +0000 | [diff] [blame] | 22 | - string: |
| 23 | name: JAVA_HOME |
robert.tomczyk | 08e50eb | 2020-08-11 16:53:28 +0100 | [diff] [blame] | 24 | default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' |
robert.tomczyk | 2c6e308 | 2020-02-20 12:15:07 +0000 | [diff] [blame] | 25 | description: Java home |
| 26 | - string: |
| 27 | name: MVN_VERSION |
robert.tomczyk | c75d04b | 2020-11-09 13:28:21 +0000 | [diff] [blame] | 28 | default: '{mvn_version}' |
robert.tomczyk | 2c6e308 | 2020-02-20 12:15:07 +0000 | [diff] [blame] | 29 | description: Maven version |
| 30 | - string: |
| 31 | name: MVN_URL |
| 32 | default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip |
| 33 | description: URL to download Maven |
| 34 | - string: |
| 35 | name: MVN |
| 36 | default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn |
| 37 | description: Path to mvn executable |
robert.tomczyk | 750a20f | 2020-08-18 11:08:43 +0100 | [diff] [blame] | 38 | - string: |
| 39 | name: MVN_SETTINGS_XML_VERSION |
| 40 | default: '{mvn_settings_xml_version}' |
| 41 | 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. |
afenner | 2909964 | 2020-08-28 16:09:31 +0100 | [diff] [blame] | 42 | - string: |
| 43 | name: MVN_PARAMS |
| 44 | default: '{mvn_params}' |
| 45 | description: Maven build parameters |
robert.tomczyk | 2c6e308 | 2020-02-20 12:15:07 +0000 | [diff] [blame] | 46 | scm: |
| 47 | - git-scm-gerrit: |
| 48 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 49 | branch: '{branch}' |
| 50 | refspec: $GERRIT_REFSPEC |
| 51 | wipe_workspace: true |
| 52 | clean_before: false |
| 53 | |
| 54 | triggers: |
| 55 | - nordix-gerrit-trigger-patchset-created: |
| 56 | project: 'local/onap/{project}' |
| 57 | branch: '{branch}' |
| 58 | files: '**' |
| 59 | |
| 60 | wrappers: |
| 61 | - build-timeout: |
| 62 | timeout: 45 |
| 63 | |
| 64 | builders: |
| 65 | - shell: |
robert.tomczyk | 08e50eb | 2020-08-11 16:53:28 +0100 | [diff] [blame] | 66 | !include-raw-escape: ./verify-jobs.sh |