blob: f4ba9156949bd7bd1fe2f2e1943cc8ba532bd2a2 [file] [log] [blame]
- job-template:
name: 'oransc-{project-name}-verify-bash'
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: GERRIT_REFSPEC
default: ''
- string:
name: DIRECTORY
default: '{directory}'
description: Current Project Directory
- string:
name: SCRIPT_NAME
default: '{script-name}'
description: Script to be executed
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-bash.sh