blob: 03e6d9efb1dacdc6dac72092800e37cd64a5ba52 [file] [log] [blame]
- job-template:
name: 'acumos-{project-name}-push-upstream'
node: infra-ubuntu1804
disabled: false
concurrent: false
properties:
- logrotate
parameters:
- string:
name: PROJECT
default: 'acumos/{project}'
description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
- nordix-gerrit-parameters
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-push-upstream:
project: 'acumos/{project}'
branch: '**'
files: '**'
wrappers:
- build-timeout:
timeout: 10
- ssh-agent-credentials:
users:
- 'infra-upstream-gerrit-ssh-passphrase'
builders:
- shell:
!include-raw-escape: ./push-upstream-jobs.sh