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 | |
robert.tomczyk | f63577d | 2019-06-27 12:24:50 +0100 | [diff] [blame] | 4 | node: infra-ubuntu1804 |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 5 | |
| 6 | disabled: false |
| 7 | |
robert.tomczyk | 28e1041 | 2019-06-26 11:10:59 +0100 | [diff] [blame] | 8 | concurrent: false |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 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 |
robert.tomczyk | 32e895b | 2019-10-11 11:56:16 +0100 | [diff] [blame] | 37 | - ssh-agent-credentials: |
| 38 | users: |
| 39 | - 'infra-upstream-gerrit-ssh-passphrase' |
robert.tomczyk | 29c6ced | 2019-05-28 11:43:02 +0100 | [diff] [blame] | 40 | |
| 41 | builders: |
| 42 | - shell: |
| 43 | !include-raw-escape: ./push-upstream-jobs.sh |