Conor Ward | dfbb40b | 2018-11-21 16:52:54 +0000 | [diff] [blame] | 1 | - job-template: |
| 2 | name: '{project-name}-{stream}-verify-java' |
| 3 | |
| 4 | node: onap-ubuntu1604 |
| 5 | |
| 6 | disabled: false |
| 7 | |
| 8 | concurrent: true |
| 9 | |
Fatih Degirmenci | fbd236f | 2019-02-07 10:08:35 +0100 | [diff] [blame] | 10 | properties: |
| 11 | - logrotate |
| 12 | |
Conor Ward | dfbb40b | 2018-11-21 16:52:54 +0000 | [diff] [blame] | 13 | parameters: |
| 14 | - project-parameters: |
| 15 | project: '{project}' |
| 16 | branch: '{branch}' |
| 17 | - nordix-gerrit-parameters |
| 18 | - string: |
| 19 | name: JAVA_HOME |
Conor Ward | bdb5dad | 2018-11-23 15:24:36 +0000 | [diff] [blame] | 20 | default: /usr/lib/jvm/java-1.8.0-openjdk-amd64 |
Conor Ward | dfbb40b | 2018-11-21 16:52:54 +0000 | [diff] [blame] | 21 | description: Java home |
| 22 | - string: |
| 23 | name: MVN_VERSION |
| 24 | default: 3.3.9 |
| 25 | description: Maven version |
| 26 | - string: |
| 27 | name: MVN_URL |
| 28 | default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip |
| 29 | description: URL to download Maven |
| 30 | - string: |
| 31 | name: MVN |
| 32 | default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn |
| 33 | description: Path to mvn executable |
| 34 | |
| 35 | scm: |
| 36 | - git-scm-gerrit: |
| 37 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 38 | branch: '{branch}' |
| 39 | refspec: $GERRIT_REFSPEC |
robert.tomczyk | 7e50787 | 2019-06-18 17:20:26 +0100 | [diff] [blame] | 40 | wipe_workspace: true |
| 41 | clean_before: false |
Conor Ward | dfbb40b | 2018-11-21 16:52:54 +0000 | [diff] [blame] | 42 | |
| 43 | triggers: |
| 44 | - nordix-gerrit-trigger-patchset-created: |
| 45 | project: '{project}' |
| 46 | branch: '{branch}' |
| 47 | files: '**' |
| 48 | |
Fatih Degirmenci | 89d9846 | 2019-01-29 10:34:20 +0100 | [diff] [blame] | 49 | wrappers: |
| 50 | - build-timeout: |
| 51 | timeout: 45 |
| 52 | |
Conor Ward | dfbb40b | 2018-11-21 16:52:54 +0000 | [diff] [blame] | 53 | builders: |
| 54 | - shell: |
| 55 | !include-raw-escape: ./verify-jobs.sh |