Fatih Degirmenci | ef57dbc | 2018-10-22 13:14:34 +0200 | [diff] [blame] | 1 | --- |
| 2 | # this job gets triggered when a change is proposed to |
| 3 | # dcaegen2/collectors/datafile project on Nordix Gerrit. |
| 4 | - project: |
| 5 | |
| 6 | name: datafile-verify |
| 7 | |
| 8 | project: dcaegen2/collectors/datafile |
| 9 | |
Fatih Degirmenci | d1f707e | 2018-10-22 23:33:24 +0200 | [diff] [blame^] | 10 | project-name: dcaegen2-collectors-datafile |
| 11 | |
Fatih Degirmenci | ef57dbc | 2018-10-22 13:14:34 +0200 | [diff] [blame] | 12 | stream: |
| 13 | - nordix-dev: |
| 14 | branch: '{stream}' |
| 15 | |
| 16 | jobs: |
Fatih Degirmenci | d1f707e | 2018-10-22 23:33:24 +0200 | [diff] [blame^] | 17 | - '{project-name}-{stream}-verify-java' |
Fatih Degirmenci | ef57dbc | 2018-10-22 13:14:34 +0200 | [diff] [blame] | 18 | |
| 19 | |
| 20 | - job-template: |
Fatih Degirmenci | d1f707e | 2018-10-22 23:33:24 +0200 | [diff] [blame^] | 21 | name: '{project-name}-{stream}-verify-java' |
Fatih Degirmenci | ef57dbc | 2018-10-22 13:14:34 +0200 | [diff] [blame] | 22 | |
Fatih Degirmenci | d1f707e | 2018-10-22 23:33:24 +0200 | [diff] [blame^] | 23 | node: onap-ubuntu1604 |
Fatih Degirmenci | ef57dbc | 2018-10-22 13:14:34 +0200 | [diff] [blame] | 24 | |
| 25 | disabled: false |
| 26 | |
| 27 | concurrent: true |
| 28 | |
| 29 | parameters: |
| 30 | - project-parameters: |
| 31 | project: '{project}' |
| 32 | branch: '{branch}' |
| 33 | - nordix-gerrit-parameters |
Fatih Degirmenci | d1f707e | 2018-10-22 23:33:24 +0200 | [diff] [blame^] | 34 | - string: |
| 35 | name: JAVA_HOME |
| 36 | default: /usr/lib/jvm/java-1.8.0-openjdk-amd64 |
| 37 | description: Java home |
| 38 | - string: |
| 39 | name: MVN_VERSION |
| 40 | default: 3.3.9 |
| 41 | description: Maven version |
| 42 | - string: |
| 43 | name: MVN_URL |
| 44 | default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip |
| 45 | description: URL to download Maven |
| 46 | - string: |
| 47 | name: MVN |
| 48 | default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn |
| 49 | description: Path to mvn executable |
Fatih Degirmenci | ef57dbc | 2018-10-22 13:14:34 +0200 | [diff] [blame] | 50 | |
| 51 | scm: |
| 52 | - git-scm-gerrit: |
| 53 | branch: '{branch}' |
| 54 | refspec: $GERRIT_REFSPEC |
| 55 | |
| 56 | triggers: |
| 57 | - nordix-gerrit-trigger-patchset-created: |
| 58 | project: '{project}' |
| 59 | branch: '{branch}' |
| 60 | files: '**' |
| 61 | |
Fatih Degirmenci | ef57dbc | 2018-10-22 13:14:34 +0200 | [diff] [blame] | 62 | builders: |
| 63 | - shell: |
| 64 | !include-raw-escape: ./datafile-verify.sh |