blob: df2cccad7ce31cac777d40fcfba13c826128f6f9 [file] [log] [blame]
- job-template:
name: 'opendev-{project-name}-push-upstream'
node: infra-build01-ubuntu1804
disabled: false
concurrent: true
properties:
- logrotate
parameters:
- string:
name: PROJECT
default: '{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
triggers:
- nordix-gerrit-patchset-created-or-push-upstream:
project: 'opendev/{project}'
branch: '**'
files: '**'
wrappers:
- build-timeout:
timeout: 10
builders:
- shell:
!include-raw-escape: ./push-upstream-jobs.sh
publishers:
- notify-slack:
slack-channel: '#infra'