robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 1 | - 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 |
| 24 | |
| 25 | triggers: |
robert.tomczyk | 81ffa8f | 2019-06-14 11:51:51 +0100 | [diff] [blame^] | 26 | - nordix-gerrit-patchset-created-or-push-upstream: |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 27 | project: 'opendev/{project}' |
| 28 | branch: '{branch}' |
| 29 | files: '**' |
| 30 | |
| 31 | wrappers: |
| 32 | - build-timeout: |
| 33 | timeout: 10 |
| 34 | |
| 35 | builders: |
| 36 | - shell: |
| 37 | !include-raw-escape: ./push-upstream-jobs.sh |
| 38 | |
| 39 | publishers: |
| 40 | - notify-slack: |
| 41 | slack-channel: '#infra' |