blob: 342a8f894f9a36347643a5374b599e1c73494da1 [file] [log] [blame]
Fatih Degirmencief57dbc2018-10-22 13:14:34 +02001---
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 Degirmencid1f707e2018-10-22 23:33:24 +020010 project-name: dcaegen2-collectors-datafile
11
Fatih Degirmencief57dbc2018-10-22 13:14:34 +020012 stream:
13 - nordix-dev:
14 branch: '{stream}'
15
16 jobs:
Fatih Degirmencid1f707e2018-10-22 23:33:24 +020017 - '{project-name}-{stream}-verify-java'
Fatih Degirmencief57dbc2018-10-22 13:14:34 +020018
19
20- job-template:
Fatih Degirmencid1f707e2018-10-22 23:33:24 +020021 name: '{project-name}-{stream}-verify-java'
Fatih Degirmencief57dbc2018-10-22 13:14:34 +020022
Fatih Degirmencid1f707e2018-10-22 23:33:24 +020023 node: onap-ubuntu1604
Fatih Degirmencief57dbc2018-10-22 13:14:34 +020024
25 disabled: false
26
27 concurrent: true
28
29 parameters:
30 - project-parameters:
31 project: '{project}'
32 branch: '{branch}'
33 - nordix-gerrit-parameters
Fatih Degirmencid1f707e2018-10-22 23:33:24 +020034 - 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 Degirmencief57dbc2018-10-22 13:14:34 +020050
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 Degirmencief57dbc2018-10-22 13:14:34 +020062 builders:
63 - shell:
64 !include-raw-escape: ./datafile-verify.sh