blob: 639168bc018346bc51dff568f9fb2ec149a12eee [file] [log] [blame]
Conor Warddfbb40b2018-11-21 16:52:54 +00001- job-template:
2 name: '{project-name}-{stream}-verify-java'
3
4 node: onap-ubuntu1604
5
6 disabled: false
7
8 concurrent: true
9
10 parameters:
11 - project-parameters:
12 project: '{project}'
13 branch: '{branch}'
14 - nordix-gerrit-parameters
15 - string:
16 name: JAVA_HOME
Conor Wardbdb5dad2018-11-23 15:24:36 +000017 default: /usr/lib/jvm/java-1.8.0-openjdk-amd64
Conor Warddfbb40b2018-11-21 16:52:54 +000018 description: Java home
19 - string:
20 name: MVN_VERSION
21 default: 3.3.9
22 description: Maven version
23 - string:
24 name: MVN_URL
25 default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
26 description: URL to download Maven
27 - string:
28 name: MVN
29 default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
30 description: Path to mvn executable
31
32 scm:
33 - git-scm-gerrit:
34 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
35 branch: '{branch}'
36 refspec: $GERRIT_REFSPEC
37
38 triggers:
39 - nordix-gerrit-trigger-patchset-created:
40 project: '{project}'
41 branch: '{branch}'
42 files: '**'
43
44 builders:
45 - shell:
46 !include-raw-escape: ./verify-jobs.sh