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