blob: d96a958788aab09e1e0a287995b17cb688f536f2 [file] [log] [blame]
robert.tomczyke53f0092019-06-05 12:03:09 +01001- job-template:
2 name: 'onap-{project-name}-{stream}-verify-java'
3
4 node: onap-ubuntu1604
5
6 disabled: false
7
8 concurrent: true
9
10 properties:
11 - logrotate
12
13 parameters:
14 - project-parameters:
15 project: 'onap/{project}'
16 branch: '{branch}'
afenner5433dc42019-08-16 14:03:19 +010017 - string:
18 name: NODE
19 default: '{node}'
20 description: node to do build on
robert.tomczyke53f0092019-06-05 12:03:09 +010021 - nordix-gerrit-parameters
22 - string:
23 name: JAVA_HOME
24 default: /usr/lib/jvm/java-1.8.0-openjdk-amd64
25 description: Java home
26 - string:
27 name: MVN_VERSION
28 default: 3.3.9
29 description: Maven version
30 - string:
31 name: MVN_URL
32 default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
33 description: URL to download Maven
34 - string:
35 name: MVN
36 default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
37 description: Path to mvn executable
afenner5433dc42019-08-16 14:03:19 +010038
robert.tomczyke53f0092019-06-05 12:03:09 +010039
40 scm:
41 - git-scm-gerrit:
42 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
43 branch: '{branch}'
44 refspec: $GERRIT_REFSPEC
robert.tomczyk7e507872019-06-18 17:20:26 +010045 wipe_workspace: true
46 clean_before: false
robert.tomczyke53f0092019-06-05 12:03:09 +010047
48 triggers:
49 - nordix-gerrit-trigger-patchset-created:
50 project: 'onap/{project}'
51 branch: '{branch}'
52 files: '**'
53
54 wrappers:
55 - build-timeout:
56 timeout: 45
57
58 builders:
59 - shell:
60 !include-raw-escape: ../global/verify-jobs.sh