robert.tomczyk | a9b3ba6 | 2019-05-22 18:19:17 +0100 | [diff] [blame] | 1 | - job-template: |
robert.tomczyk | 4926d1c | 2019-07-05 09:52:58 +0100 | [diff] [blame] | 2 | name: 'opendaylight-{project-name}-push-upstream' |
robert.tomczyk | a9b3ba6 | 2019-05-22 18:19:17 +0100 | [diff] [blame] | 3 | |
robert.tomczyk | aaa0d45 | 2022-01-21 15:10:34 +0000 | [diff] [blame] | 4 | node: infra-ubuntu2004 |
robert.tomczyk | a9b3ba6 | 2019-05-22 18:19:17 +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 | a9b3ba6 | 2019-05-22 18:19:17 +0100 | [diff] [blame] | 9 | |
| 10 | properties: |
| 11 | - logrotate |
| 12 | |
| 13 | parameters: |
robert.tomczyk | 4926d1c | 2019-07-05 09:52:58 +0100 | [diff] [blame] | 14 | - string: |
| 15 | name: PROJECT |
| 16 | default: 'opendaylight/{project}' |
| 17 | description: JJB configured PROJECT parameter to identify a Nordix Gerrit project |
robert.tomczyk | a9b3ba6 | 2019-05-22 18:19:17 +0100 | [diff] [blame] | 18 | - nordix-gerrit-parameters |
| 19 | |
| 20 | scm: |
| 21 | - git-scm-gerrit: |
| 22 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
robert.tomczyk | 4926d1c | 2019-07-05 09:52:58 +0100 | [diff] [blame] | 23 | branch: $GERRIT_BRANCH |
robert.tomczyk | a9b3ba6 | 2019-05-22 18:19:17 +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 | a9b3ba6 | 2019-05-22 18:19:17 +0100 | [diff] [blame] | 27 | |
| 28 | triggers: |
| 29 | - nordix-gerrit-push-upstream: |
| 30 | project: 'opendaylight/{project}' |
robert.tomczyk | 4926d1c | 2019-07-05 09:52:58 +0100 | [diff] [blame] | 31 | branch: '**' |
robert.tomczyk | a9b3ba6 | 2019-05-22 18:19:17 +0100 | [diff] [blame] | 32 | files: '**' |
| 33 | |
| 34 | wrappers: |
| 35 | - build-timeout: |
| 36 | timeout: 10 |
robert.tomczyk | 8721bec | 2019-10-11 13:48:12 +0100 | [diff] [blame] | 37 | - ssh-agent-credentials: |
| 38 | users: |
| 39 | - 'infra-upstream-gerrit-ssh-passphrase' |
robert.tomczyk | aaa0d45 | 2022-01-21 15:10:34 +0000 | [diff] [blame] | 40 | - 'nordixinfra-nordix-gerrit-ssh' |
robert.tomczyk | a9b3ba6 | 2019-05-22 18:19:17 +0100 | [diff] [blame] | 41 | |
| 42 | builders: |
| 43 | - shell: |
| 44 | !include-raw-escape: ./push-upstream-jobs.sh |