OPENDEV: Add additional parameters to SCM module
[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           wipe_workspace: true
29           clean_before: false
30
31     triggers:
32       - acumos-gerrit-trigger-change-merged:
33           project: '{project}'
34           branch: '{branch}'
35           files: '**'
36       - timed: "@midnight"
37
38     wrappers:
39       - build-timeout:
40           timeout: 10
41
42     builders:
43       - shell:
44           !include-raw-escape: ../global/rebase-jobs.sh
45
46     publishers:
47       - notify-slack:
48           slack-channel: '#acumos'