blob: 07200020448fbc6dca0785b93907c4c72bdd8442 [file] [log] [blame]
robert.tomczyk29c6ced2019-05-28 11:43:02 +01001- job-template:
2 name: 'opendev-{project-name}-{stream}-push-upstream'
3
4 node: infra-build01-ubuntu1804
5
6 disabled: false
7
8 concurrent: true
9
10 properties:
11 - logrotate
12
13 parameters:
14 - project-parameters:
15 project: 'opendev/{project}'
16 branch: '{branch}'
17 - nordix-gerrit-parameters
18
19 scm:
20 - git-scm-gerrit:
21 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
22 branch: '{branch}'
23 refspec: $GERRIT_REFSPEC
robert.tomczyk7e507872019-06-18 17:20:26 +010024 wipe_workspace: true
25 clean_before: false
robert.tomczyk29c6ced2019-05-28 11:43:02 +010026
27 triggers:
robert.tomczyk81ffa8f2019-06-14 11:51:51 +010028 - nordix-gerrit-patchset-created-or-push-upstream:
robert.tomczyk29c6ced2019-05-28 11:43:02 +010029 project: 'opendev/{project}'
30 branch: '{branch}'
31 files: '**'
32
33 wrappers:
34 - build-timeout:
35 timeout: 10
36
37 builders:
38 - shell:
39 !include-raw-escape: ./push-upstream-jobs.sh
40
41 publishers:
42 - notify-slack:
43 slack-channel: '#infra'