robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 1 | - job-template: |
robert.tomczyk | 3da948e | 2019-06-19 11:11:11 +0100 | [diff] [blame^] | 2 | name: 'opendev-{project-name}-push-upstream' |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 3 | |
| 4 | node: infra-build01-ubuntu1804 |
| 5 | |
| 6 | disabled: false |
| 7 | |
| 8 | concurrent: true |
| 9 | |
| 10 | properties: |
| 11 | - logrotate |
| 12 | |
| 13 | parameters: |
robert.tomczyk | 3da948e | 2019-06-19 11:11:11 +0100 | [diff] [blame^] | 14 | - string: |
| 15 | name: PROJECT |
| 16 | default: 'opendev/{project}' |
| 17 | description: JJB configured PROJECT parameter to identify a Nordix Gerrit project |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 18 | - nordix-gerrit-parameters |
| 19 | |
| 20 | scm: |
| 21 | - git-scm-gerrit: |
| 22 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
robert.tomczyk | 3da948e | 2019-06-19 11:11:11 +0100 | [diff] [blame^] | 23 | branch: $GERRIT_BRANCH |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 24 | refspec: $GERRIT_REFSPEC |
robert.tomczyk | 7e50787 | 2019-06-18 17:20:26 +0100 | [diff] [blame] | 25 | wipe_workspace: true |
| 26 | clean_before: false |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 27 | |
| 28 | triggers: |
robert.tomczyk | 81ffa8f | 2019-06-14 11:51:51 +0100 | [diff] [blame] | 29 | - nordix-gerrit-patchset-created-or-push-upstream: |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 30 | project: 'opendev/{project}' |
robert.tomczyk | 3da948e | 2019-06-19 11:11:11 +0100 | [diff] [blame^] | 31 | branch: '**' |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 32 | 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' |