blob: f2f74013e54bb37b763a2214b0e0b609e443a7ac [file] [log] [blame]
robert.tomczyke53f0092019-06-05 12:03:09 +01001- job-template:
robert.tomczyka49a3a42019-09-04 15:43:19 +01002 name: 'onap-{project-name}-rebase'
robert.tomczykf63577d2019-06-27 12:24:50 +01003 node: infra-ubuntu1804
robert.tomczyke53f0092019-06-05 12:03:09 +01004 disabled: false
robert.tomczyke53f0092019-06-05 12:03:09 +01005 concurrent: false
6
7 properties:
8 - logrotate
9
10 parameters:
robert.tomczyke53f0092019-06-05 12:03:09 +010011 - onap-gerrit-parameters
12 - string:
robert.tomczyka49a3a42019-09-04 15:43:19 +010013 name: PROJECT
14 default: '{project}'
15 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
16 - string:
robert.tomczyke53f0092019-06-05 12:03:09 +010017 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.tomczyka49a3a42019-09-04 15:43:19 +010024 branch: 'master'
robert.tomczyke53f0092019-06-05 12:03:09 +010025 refspec: ''
robert.tomczyka49a3a42019-09-04 15:43:19 +010026 wipe_workspace: false
27 clean_before: true
robert.tomczyke53f0092019-06-05 12:03:09 +010028
29 triggers:
30 - onap-gerrit-trigger-change-merged:
31 project: '{project}'
robert.tomczyka49a3a42019-09-04 15:43:19 +010032 branch: '**'
robert.tomczyke53f0092019-06-05 12:03:09 +010033 files: '**'
34 - timed: "@midnight"
35
36 wrappers:
37 - build-timeout:
38 timeout: 10
39
40 builders:
41 - shell:
robert.tomczyk3459cae2019-09-25 09:31:57 +010042 !include-raw-escape: ../global/rebase-jobs.sh
robert.tomczyke53f0092019-06-05 12:03:09 +010043
44 publishers:
45 - notify-slack:
46 slack-channel: '#infra'
robert.tomczykc8dcf1c2019-07-25 20:30:29 +010047 notify-start: false
48 notify-success: false
49 notify-failure: true
50 notify-back-to-normal: true