blob: acb47909ab76f8a5f5d073dc5702541226bc9846 [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.tomczyke53f0092019-06-05 12:03:09 +01003
robert.tomczykf63577d2019-06-27 12:24:50 +01004 node: infra-ubuntu1804
robert.tomczyke53f0092019-06-05 12:03:09 +01005
6 disabled: false
7
8 concurrent: false
9
10 properties:
11 - logrotate
12
13 parameters:
robert.tomczyke53f0092019-06-05 12:03:09 +010014 - onap-gerrit-parameters
15 - string:
robert.tomczyka49a3a42019-09-04 15:43:19 +010016 name: PROJECT
17 default: '{project}'
18 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
19 - string:
robert.tomczyke53f0092019-06-05 12:03:09 +010020 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.tomczyka49a3a42019-09-04 15:43:19 +010027 branch: 'master'
robert.tomczyke53f0092019-06-05 12:03:09 +010028 refspec: ''
robert.tomczyka49a3a42019-09-04 15:43:19 +010029 wipe_workspace: false
30 clean_before: true
robert.tomczyke53f0092019-06-05 12:03:09 +010031
32 triggers:
33 - onap-gerrit-trigger-change-merged:
34 project: '{project}'
robert.tomczyka49a3a42019-09-04 15:43:19 +010035 branch: '**'
robert.tomczyke53f0092019-06-05 12:03:09 +010036 files: '**'
37 - timed: "@midnight"
38
39 wrappers:
40 - build-timeout:
41 timeout: 10
42
43 builders:
44 - shell:
robert.tomczyka49a3a42019-09-04 15:43:19 +010045 !include-raw-escape: ./rebase-jobs.sh
robert.tomczyke53f0092019-06-05 12:03:09 +010046
47 publishers:
48 - notify-slack:
49 slack-channel: '#infra'
robert.tomczykc8dcf1c2019-07-25 20:30:29 +010050 notify-start: false
51 notify-success: false
52 notify-failure: true
53 notify-back-to-normal: true