- job-template: | |
name: 'oransc-{project-name}-rebase' | |
node: infra-ubuntu2004 | |
disabled: false | |
concurrent: false | |
properties: | |
- logrotate | |
parameters: | |
- oransc-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/oransc/{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: | |
- oransc-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 |