blob: b978452dc606a04c5f4eab187c48feb264aaf329 [file] [log] [blame]
robert.tomczyke53f0092019-06-05 12:03:09 +01001- job-template:
2 name: 'onap-{project-name}-{stream}-verify-java'
3
robert.tomczyke53f0092019-06-05 12:03:09 +01004 disabled: false
5
6 concurrent: true
7
8 properties:
9 - logrotate
10
Fatih Degirmenci9a677fe2019-08-22 06:27:41 +000011 jdk-version: jdk8
12
robert.tomczyke53f0092019-06-05 12:03:09 +010013 parameters:
afenner49aae692019-08-16 14:50:42 +010014 - project-parameters:
15 project: 'onap/{project}'
16 branch: '{branch}'
robert.tomczyke53f0092019-06-05 12:03:09 +010017 - nordix-gerrit-parameters
Fatih Degirmenci9a677fe2019-08-22 06:27:41 +000018 - label:
19 name: SLAVE_LABEL
20 default: 'onap-build-ubuntu1604-{jdk-version}'
21 description: 'Slave label to schedule this job on'
robert.tomczyke53f0092019-06-05 12:03:09 +010022 - string:
23 name: JAVA_HOME
Fatih Degirmenci9a677fe2019-08-22 06:27:41 +000024 default: /usr/lib/jvm/openjdk-amd64
robert.tomczyke53f0092019-06-05 12:03:09 +010025 description: Java home
26 - string:
27 name: MVN_VERSION
robert.tomczyk2fe1e562020-01-16 10:53:40 +000028 default: 3.5.4
robert.tomczyke53f0092019-06-05 12:03:09 +010029 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 scm:
40 - git-scm-gerrit:
41 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
42 branch: '{branch}'
43 refspec: $GERRIT_REFSPEC
robert.tomczyk7e507872019-06-18 17:20:26 +010044 wipe_workspace: true
45 clean_before: false
robert.tomczyke53f0092019-06-05 12:03:09 +010046
47 triggers:
48 - nordix-gerrit-trigger-patchset-created:
49 project: 'onap/{project}'
50 branch: '{branch}'
51 files: '**'
52
53 wrappers:
54 - build-timeout:
55 timeout: 45
56
57 builders:
58 - shell:
59 !include-raw-escape: ../global/verify-jobs.sh