blob: 385fdd4d02abe76a5917b971096c2955be23b01a [file] [log] [blame]
- job-template:
name: 'opendev-{project-name}-{stream}-push-upstream'
node: infra-build01-ubuntu1804
disabled: false
concurrent: true
properties:
- logrotate
parameters:
- project-parameters:
project: 'opendev/{project}'
branch: '{branch}'
- nordix-gerrit-parameters
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
triggers:
- nordix-gerrit-push-upstream:
project: 'opendev/{project}'
branch: '{branch}'
files: '**'
wrappers:
- build-timeout:
timeout: 10
builders:
- shell:
!include-raw-escape: ./push-upstream-jobs.sh
publishers:
- notify-slack:
slack-channel: '#infra'