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