blob: b978452dc606a04c5f4eab187c48feb264aaf329 [file] [log] [blame]
- job-template:
name: 'onap-{project-name}-{stream}-verify-java'
disabled: false
concurrent: true
properties:
- logrotate
jdk-version: jdk8
parameters:
- project-parameters:
project: 'onap/{project}'
branch: '{branch}'
- nordix-gerrit-parameters
- label:
name: SLAVE_LABEL
default: 'onap-build-ubuntu1604-{jdk-version}'
description: 'Slave label to schedule this job on'
- string:
name: JAVA_HOME
default: /usr/lib/jvm/openjdk-amd64
description: Java home
- string:
name: MVN_VERSION
default: 3.5.4
description: Maven version
- string:
name: MVN_URL
default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
description: URL to download Maven
- string:
name: MVN
default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
description: Path to mvn executable
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
project: 'onap/{project}'
branch: '{branch}'
files: '**'
wrappers:
- build-timeout:
timeout: 45
builders:
- shell:
!include-raw-escape: ../global/verify-jobs.sh