- job-template: | |
name: 'onap-{project-name}-rebase' | |
node: infra-ubuntu2004 | |
disabled: false | |
concurrent: false | |
properties: | |
- logrotate | |
parameters: | |
- onap-gerrit-parameters | |
- string: | |
name: PROJECT | |
default: '{project}' | |
description: JJB configured PROJECT parameter to identify a Nordix Gerrit project | |
- string: | |
name: NORDIX_REMOTE | |
default: 'ssh://infra@gerrit.nordix.org:29418/onap/{project}.git' | |
description: The remote to add for Nordix. | |
scm: | |
- git-scm: | |
ssh-credentials-id: nordixinfra-lfn-gerrit-ssh | |
branch: 'master' | |
refspec: '' | |
wipe_workspace: false | |
clean_before: true | |
triggers: | |
- onap-gerrit-trigger-change-merged: | |
project: '{project}' | |
branch: '**' | |
files: '**' | |
- timed: "@midnight" | |
wrappers: | |
- build-timeout: | |
timeout: 10 | |
- ssh-agent-credentials: | |
users: | |
- 'nordixinfra-nordix-gerrit-ssh' | |
builders: | |
- shell: | |
!include-raw-escape: ../global/rebase-jobs.sh | |
publishers: | |
- notify-slack: | |
slack-channel: '#infra' | |
notify-start: false | |
notify-success: false | |
notify-failure: true | |
notify-back-to-normal: true |