blob: 180f851a28c884d1a24f5dae436078380d3a18bd [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
naumana49e1912022-05-26 22:34:59 +00009 - est-ms-teams-rebase-jobs-webhook
robert.tomczyke53f0092019-06-05 12:03:09 +010010
11 parameters:
robert.tomczyke53f0092019-06-05 12:03:09 +010012 - onap-gerrit-parameters
13 - string:
robert.tomczyka49a3a42019-09-04 15:43:19 +010014 name: PROJECT
15 default: '{project}'
16 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
17 - string:
robert.tomczyke53f0092019-06-05 12:03:09 +010018 name: NORDIX_REMOTE
19 default: 'ssh://infra@gerrit.nordix.org:29418/onap/{project}.git'
20 description: The remote to add for Nordix.
21
22 scm:
23 - git-scm:
24 ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
robert.tomczyka49a3a42019-09-04 15:43:19 +010025 branch: 'master'
robert.tomczyke53f0092019-06-05 12:03:09 +010026 refspec: ''
robert.tomczyka49a3a42019-09-04 15:43:19 +010027 wipe_workspace: false
28 clean_before: true
robert.tomczyke53f0092019-06-05 12:03:09 +010029
30 triggers:
31 - onap-gerrit-trigger-change-merged:
32 project: '{project}'
robert.tomczyka49a3a42019-09-04 15:43:19 +010033 branch: '**'
robert.tomczyke53f0092019-06-05 12:03:09 +010034 files: '**'
35 - timed: "@midnight"
36
37 wrappers:
38 - build-timeout:
39 timeout: 10
robert.tomczyk325d5472022-01-21 12:43:08 +000040 - ssh-agent-credentials:
41 users:
42 - 'nordixinfra-nordix-gerrit-ssh'
robert.tomczyke53f0092019-06-05 12:03:09 +010043
44 builders:
45 - shell:
robert.tomczyk3459cae2019-09-25 09:31:57 +010046 !include-raw-escape: ../global/rebase-jobs.sh
robert.tomczyke53f0092019-06-05 12:03:09 +010047
48 publishers:
49 - notify-slack:
50 slack-channel: '#infra'
robert.tomczykc8dcf1c2019-07-25 20:30:29 +010051 notify-start: false
52 notify-success: false
53 notify-failure: true
54 notify-back-to-normal: true