blob: 5b8bfb6127095bf4b34e372dd559d49d33e3ff53 [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
4 node: infra-build01-ubuntu1804
5
6 disabled: false
7
8 concurrent: true
9
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
37
38 builders:
39 - shell:
40 !include-raw-escape: ./push-upstream-jobs.sh
41
42 publishers:
43 - notify-slack:
44 slack-channel: '#infra'