blob: cabc612c584592b415310537c4090da4da5cc0a4 [file] [log] [blame]
robert.tomczyk29c6ced2019-05-28 11:43:02 +01001- job-template:
robert.tomczyk3da948e2019-06-19 11:11:11 +01002 name: 'opendev-{project-name}-push-upstream'
robert.tomczyk29c6ced2019-05-28 11:43:02 +01003
robert.tomczykf63577d2019-06-27 12:24:50 +01004 node: infra-ubuntu1804
robert.tomczyk29c6ced2019-05-28 11:43:02 +01005
6 disabled: false
7
robert.tomczyk28e10412019-06-26 11:10:59 +01008 concurrent: false
robert.tomczyk29c6ced2019-05-28 11:43:02 +01009
10 properties:
11 - logrotate
12
13 parameters:
robert.tomczyk3da948e2019-06-19 11:11:11 +010014 - string:
15 name: PROJECT
16 default: 'opendev/{project}'
17 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
robert.tomczyk29c6ced2019-05-28 11:43:02 +010018 - nordix-gerrit-parameters
19
20 scm:
21 - git-scm-gerrit:
22 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
robert.tomczyk3da948e2019-06-19 11:11:11 +010023 branch: $GERRIT_BRANCH
robert.tomczyk29c6ced2019-05-28 11:43:02 +010024 refspec: $GERRIT_REFSPEC
robert.tomczyk7e507872019-06-18 17:20:26 +010025 wipe_workspace: true
26 clean_before: false
robert.tomczyk29c6ced2019-05-28 11:43:02 +010027
28 triggers:
robert.tomczyk81ffa8f2019-06-14 11:51:51 +010029 - nordix-gerrit-patchset-created-or-push-upstream:
robert.tomczyk29c6ced2019-05-28 11:43:02 +010030 project: 'opendev/{project}'
robert.tomczyk3da948e2019-06-19 11:11:11 +010031 branch: '**'
robert.tomczyk29c6ced2019-05-28 11:43:02 +010032 files: '**'
33
34 wrappers:
35 - build-timeout:
36 timeout: 10
robert.tomczyk32e895b2019-10-11 11:56:16 +010037 - ssh-agent-credentials:
38 users:
39 - 'infra-upstream-gerrit-ssh-passphrase'
robert.tomczyk29c6ced2019-05-28 11:43:02 +010040
41 builders:
42 - shell:
43 !include-raw-escape: ./push-upstream-jobs.sh