blob: 95a4f4d418839d6e01e764f588958e5b90d8c8b0 [file] [log] [blame]
- job-template:
name: 'oransc-{project-name}-verify-java'
node: oransc-ubuntu2004
disabled: false
concurrent: true
properties:
- logrotate
parameters:
- nordix-gerrit-parameters
- string:
name: PROJECT
default: 'oransc/{project}'
description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
- string:
name: JAVA_HOME
default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
description: Java home
- string:
name: MVN_VERSION
default: 3.6.2
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
- string:
name: GO_PATH
default: '/usr/local/go/bin'
description: Path to go executable
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: $GERRIT_BRANCH
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
project: 'oransc/{project}'
branch: '**'
files: '**'
wrappers:
- build-timeout:
timeout: 45
builders:
- shell:
!include-raw-escape: ./verify-jobs.sh