Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 1 | - job-template: |
robert.tomczyk | 591f1b8 | 2019-06-24 09:43:47 +0100 | [diff] [blame] | 2 | name: 'acumos-{project-name}-verify-java' |
Justin Early | 882e7ba | 2019-09-03 13:27:16 -0700 | [diff] [blame] | 3 | node: acumos-ubuntu1804 |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 4 | disabled: false |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 5 | concurrent: true |
| 6 | |
| 7 | properties: |
| 8 | - logrotate |
| 9 | |
| 10 | parameters: |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 11 | - nordix-gerrit-parameters |
| 12 | - string: |
robert.tomczyk | 591f1b8 | 2019-06-24 09:43:47 +0100 | [diff] [blame] | 13 | name: PROJECT |
| 14 | default: 'acumos/{project}' |
| 15 | description: JJB configured PROJECT parameter to identify a Nordix Gerrit project |
| 16 | - string: |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 17 | name: JAVA_HOME |
Justin Early | 882e7ba | 2019-09-03 13:27:16 -0700 | [diff] [blame] | 18 | default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64' |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 19 | description: Java home |
| 20 | - string: |
| 21 | name: MVN_VERSION |
| 22 | default: 3.3.9 |
| 23 | description: Maven version |
| 24 | - string: |
| 25 | name: MVN_URL |
| 26 | default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip |
| 27 | description: URL to download Maven |
| 28 | - string: |
| 29 | name: MVN |
| 30 | default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn |
| 31 | description: Path to mvn executable |
| 32 | |
| 33 | scm: |
| 34 | - git-scm-gerrit: |
| 35 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
robert.tomczyk | 591f1b8 | 2019-06-24 09:43:47 +0100 | [diff] [blame] | 36 | branch: $GERRIT_BRANCH |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 37 | refspec: $GERRIT_REFSPEC |
robert.tomczyk | 7e50787 | 2019-06-18 17:20:26 +0100 | [diff] [blame] | 38 | wipe_workspace: true |
| 39 | clean_before: false |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 40 | |
| 41 | triggers: |
| 42 | - nordix-gerrit-trigger-patchset-created: |
| 43 | project: 'acumos/{project}' |
robert.tomczyk | 591f1b8 | 2019-06-24 09:43:47 +0100 | [diff] [blame] | 44 | branch: '**' |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 45 | files: '**' |
Fatih Degirmenci | 477ca0f | 2019-03-27 09:40:03 +0100 | [diff] [blame] | 46 | |
| 47 | wrappers: |
| 48 | - build-timeout: |
| 49 | timeout: 45 |
| 50 | |
| 51 | builders: |
| 52 | - shell: |
| 53 | !include-raw-escape: ./verify-jobs.sh |