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 | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 3 | |
robert.tomczyk | f63577d | 2019-06-27 12:24:50 +0100 | [diff] [blame] | 4 | node: infra-ubuntu1804 |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 5 | |
| 6 | disabled: false |
| 7 | |
| 8 | concurrent: false |
| 9 | |
| 10 | properties: |
| 11 | - logrotate |
| 12 | |
| 13 | parameters: |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 14 | - onap-gerrit-parameters |
| 15 | - string: |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame^] | 16 | name: PROJECT |
| 17 | default: '{project}' |
| 18 | description: JJB configured PROJECT parameter to identify a Nordix Gerrit project |
| 19 | - string: |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 20 | name: NORDIX_REMOTE |
| 21 | default: 'ssh://infra@gerrit.nordix.org:29418/onap/{project}.git' |
| 22 | description: The remote to add for Nordix. |
| 23 | |
| 24 | scm: |
| 25 | - git-scm: |
| 26 | ssh-credentials-id: nordixinfra-lfn-gerrit-ssh |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame^] | 27 | branch: 'master' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 28 | refspec: '' |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame^] | 29 | wipe_workspace: false |
| 30 | clean_before: true |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 31 | |
| 32 | triggers: |
| 33 | - onap-gerrit-trigger-change-merged: |
| 34 | project: '{project}' |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame^] | 35 | branch: '**' |
robert.tomczyk | e53f009 | 2019-06-05 12:03:09 +0100 | [diff] [blame] | 36 | files: '**' |
| 37 | - timed: "@midnight" |
| 38 | |
| 39 | wrappers: |
| 40 | - build-timeout: |
| 41 | timeout: 10 |
| 42 | |
| 43 | builders: |
| 44 | - shell: |
robert.tomczyk | a49a3a4 | 2019-09-04 15:43:19 +0100 | [diff] [blame^] | 45 | !include-raw-escape: ./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 |