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