blob: 729e547dd1b335673bac3fbe932581c208735a91 [file] [log] [blame]
robert.tomczykf97b3c22019-09-18 15:14:38 +01001- job-template:
2 name: 'oransc-{project-name}-rebase'
robert.tomczykaaa0d452022-01-21 15:10:34 +00003 node: infra-ubuntu2004
robert.tomczykf97b3c22019-09-18 15:14:38 +01004 disabled: false
5 concurrent: false
6
7 properties:
8 - logrotate
9
10 parameters:
11 - oransc-gerrit-parameters
12 - string:
13 name: PROJECT
14 default: '{project}'
15 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
16 - string:
17 name: NORDIX_REMOTE
18 default: 'ssh://infra@gerrit.nordix.org:29418/oransc/{project}.git'
19 description: The remote to add for Nordix.
20
21 scm:
22 - git-scm:
23 ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
24 branch: 'master'
25 refspec: ''
26 wipe_workspace: false
27 clean_before: true
28
29 triggers:
30 - oransc-gerrit-trigger-change-merged:
31 project: '{project}'
32 branch: '**'
33 files: '**'
34 - timed: "@midnight"
35
36 wrappers:
37 - build-timeout:
38 timeout: 10
robert.tomczykaaa0d452022-01-21 15:10:34 +000039 - ssh-agent-credentials:
40 users:
41 - 'nordixinfra-nordix-gerrit-ssh'
robert.tomczykf97b3c22019-09-18 15:14:38 +010042
43 builders:
44 - shell:
robert.tomczyk3459cae2019-09-25 09:31:57 +010045 !include-raw-escape: ../global/rebase-jobs.sh
robert.tomczykf97b3c22019-09-18 15:14:38 +010046
47 publishers:
48 - notify-slack:
49 slack-channel: '#infra'
50 notify-start: false
51 notify-success: false
52 notify-failure: true
53 notify-back-to-normal: true