blob: f002b5d15b02215e26715a21680c3d51ac6b507f [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.tomczyk325d5472022-01-21 12:43:08 +00003 node: infra-ubuntu2004
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
robert.tomczyk325d5472022-01-21 12:43:08 +000039 - ssh-agent-credentials:
40 users:
41 - 'nordixinfra-nordix-gerrit-ssh'
robert.tomczyke53f0092019-06-05 12:03:09 +010042
43 builders:
44 - shell:
robert.tomczyk3459cae2019-09-25 09:31:57 +010045 !include-raw-escape: ../global/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