robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 1 | - job-template: |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame] | 2 | name: 'onap-{project-name}-rebase' |
robert.tomczyk | 325d547 | 2022-01-21 12:43:08 +0000 | [diff] [blame] | 3 | node: infra-ubuntu2004 |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 4 | disabled: false |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 5 | concurrent: false |
| 6 | |
| 7 | properties: |
| 8 | - logrotate |
nauman | a49e191 | 2022-05-26 22:34:59 +0000 | [diff] [blame] | 9 | - est-ms-teams-rebase-jobs-webhook |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 10 | |
| 11 | parameters: |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 12 | - onap-gerrit-parameters |
| 13 | - string: |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame] | 14 | name: PROJECT |
| 15 | default: '{project}' |
| 16 | description: JJB configured PROJECT parameter to identify a Nordix Gerrit project |
| 17 | - string: |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 18 | name: NORDIX_REMOTE |
| 19 | default: 'ssh://infra@gerrit.nordix.org:29418/onap/{project}.git' |
| 20 | description: The remote to add for Nordix. |
| 21 | |
| 22 | scm: |
| 23 | - git-scm: |
| 24 | ssh-credentials-id: nordixinfra-lfn-gerrit-ssh |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame] | 25 | branch: 'master' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 26 | refspec: '' |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame] | 27 | wipe_workspace: false |
| 28 | clean_before: true |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 29 | |
| 30 | triggers: |
| 31 | - onap-gerrit-trigger-change-merged: |
| 32 | project: '{project}' |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame] | 33 | branch: '**' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 34 | files: '**' |
| 35 | - timed: "@midnight" |
| 36 | |
| 37 | wrappers: |
| 38 | - build-timeout: |
| 39 | timeout: 10 |
robert.tomczyk | 325d547 | 2022-01-21 12:43:08 +0000 | [diff] [blame] | 40 | - ssh-agent-credentials: |
| 41 | users: |
| 42 | - 'nordixinfra-nordix-gerrit-ssh' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 43 | |
| 44 | builders: |
| 45 | - shell: |
robert.tomczyk | 3459cae | 2019-09-25 09:31:57 +0100 | [diff] [blame] | 46 | !include-raw-escape: ../global/rebase-jobs.sh |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 47 | |
| 48 | publishers: |
| 49 | - notify-slack: |
| 50 | slack-channel: '#infra' |
robert.tomczyk | c8dcf1c | 2019-07-25 20:30:29 +0100 | [diff] [blame] | 51 | notify-start: false |
| 52 | notify-success: false |
| 53 | notify-failure: true |
| 54 | notify-back-to-normal: true |