38712ae2a87e9a85d4ebb5b0d5b7539c413983ee
[infra/cicd.git] / jjb / global / global-templates-rebase.yaml
1 - job-template:
2     name: '{project-name}-{stream}-rebase'
3
4     node: infra-build01-ubuntu1804
5
6     disabled: false
7
8     concurrent: false
9
10     parameters:
11       - project-parameters:
12           project: '{project}'
13           branch: '{branch}'
14       - onap-gerrit-parameters
15       - string:
16           name: NORDIX_REMOTE
17           default: 'ssh://infra@gerrit.nordix.org:29418/{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: '{branch}'
24           refspec: ''
25
26     triggers:
27       - onap-gerrit-trigger-change-merged:
28           project: '{project}'
29           branch: '{branch}'
30           files: '**'
31
32     wrappers:
33       - build-timeout:
34           timeout: 10
35
36     builders:
37       - shell:
38           !include-raw-escape: ./rebase-jobs.sh