robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 1 | - job-template: |
| 2 | name: 'onap-{project-name}-{stream}-verify-java' |
robert.tomczyk | 19d1ad1 | 2020-03-23 16:35:32 +0000 | [diff] [blame^] | 3 | disabled_job_var: false |
| 4 | jdk-version: jdk8 |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 5 | |
robert.tomczyk | 19d1ad1 | 2020-03-23 16:35:32 +0000 | [diff] [blame^] | 6 | disabled: '{obj:disabled_job_var}' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 7 | concurrent: true |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 8 | properties: |
| 9 | - logrotate |
| 10 | |
| 11 | parameters: |
afenner | 49aae69 | 2019-08-16 14:50:42 +0100 | [diff] [blame] | 12 | - project-parameters: |
| 13 | project: 'onap/{project}' |
| 14 | branch: '{branch}' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 15 | - nordix-gerrit-parameters |
Fatih Degirmenci | 9a677fe | 2019-08-22 06:27:41 +0000 | [diff] [blame] | 16 | - label: |
| 17 | name: SLAVE_LABEL |
| 18 | default: 'onap-build-ubuntu1604-{jdk-version}' |
| 19 | description: 'Slave label to schedule this job on' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 20 | - string: |
| 21 | name: JAVA_HOME |
Fatih Degirmenci | 9a677fe | 2019-08-22 06:27:41 +0000 | [diff] [blame] | 22 | default: /usr/lib/jvm/openjdk-amd64 |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 23 | description: Java home |
| 24 | - string: |
| 25 | name: MVN_VERSION |
robert.tomczyk | 2fe1e56 | 2020-01-16 10:53:40 +0000 | [diff] [blame] | 26 | default: 3.5.4 |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 27 | description: Maven version |
| 28 | - string: |
| 29 | name: MVN_URL |
| 30 | default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip |
| 31 | description: URL to download Maven |
| 32 | - string: |
| 33 | name: MVN |
| 34 | default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn |
| 35 | description: Path to mvn executable |
afenner | 5433dc4 | 2019-08-16 14:03:19 +0100 | [diff] [blame] | 36 | |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 37 | scm: |
| 38 | - git-scm-gerrit: |
| 39 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 40 | branch: '{branch}' |
| 41 | refspec: $GERRIT_REFSPEC |
robert.tomczyk | 7e50787 | 2019-06-18 17:20:26 +0100 | [diff] [blame] | 42 | wipe_workspace: true |
| 43 | clean_before: false |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 44 | |
| 45 | triggers: |
| 46 | - nordix-gerrit-trigger-patchset-created: |
| 47 | project: 'onap/{project}' |
| 48 | branch: '{branch}' |
| 49 | files: '**' |
| 50 | |
| 51 | wrappers: |
| 52 | - build-timeout: |
| 53 | timeout: 45 |
| 54 | |
| 55 | builders: |
| 56 | - shell: |
| 57 | !include-raw-escape: ../global/verify-jobs.sh |