OpenDaylight: Improve jenkins jobs for OpenDaylight projects
[infra/cicd.git] / jjb / opendaylight / global-templates-opendaylight-rebase.yaml
1 - job-template:
2     name: 'opendaylight-{project-name}-rebase'
3
4     node: infra-ubuntu1804
5
6     disabled: false
7
8     concurrent: false
9
10     properties:
11       - logrotate
12
13     parameters:
14       - odl-gerrit-parameters
15       - string:
16           name: NORDIX_REMOTE
17           default: 'ssh://infra@gerrit.nordix.org:29418/opendaylight/{project}.git'
18           description: The remote to add for Nordix.
19
20     scm:
21       - git-scm:
22           ssh-credentials-id: nordixinfra-lfn-gerrit-ssh
23           branch: 'master'
24           refspec: ''
25           wipe_workspace: false
26           clean_before: true
27
28     triggers:
29       - odl-gerrit-trigger-change-merged:
30           project: '{project}'
31           branch: '**'
32           files: '**'
33       - timed: "@midnight"
34
35     wrappers:
36       - build-timeout:
37           timeout: 10
38
39     builders:
40       - shell:
41           !include-raw-escape: ./rebase-jobs.sh
42
43     publishers:
44       - notify-slack:
45           slack-channel: '#infra'