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