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