blob: f1e909a02b6f9f4caea836dc6c2594f126a8f0e2 [file] [log] [blame]
robert.tomczykf97b3c22019-09-18 15:14:38 +01001- job-template:
2 name: 'oransc-{project-name}-rebase'
3 node: infra-ubuntu1804
4 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
39
40 builders:
41 - shell:
robert.tomczyk3459cae2019-09-25 09:31:57 +010042 !include-raw-escape: ../global/rebase-jobs.sh
robert.tomczykf97b3c22019-09-18 15:14:38 +010043
44 publishers:
45 - notify-slack:
46 slack-channel: '#infra'
47 notify-start: false
48 notify-success: false
49 notify-failure: true
50 notify-back-to-normal: true