Merge "Create jenkins pipeline for k6 performance tests"
[infra/cicd.git] / jjb / global / global-templates-rebase.yaml
1 - job-template:
2     name: '{project-name}-{stream}-rebase'
3
4     node: infra-ubuntu2004
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       - onap-gerrit-parameters
18       - string:
19           name: NORDIX_REMOTE
20           default: 'ssh://infra@gerrit.nordix.org:29418/{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       - onap-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       - ssh-agent-credentials:
42           users:
43             - 'nordixinfra-nordix-gerrit-ssh'
44
45     builders:
46       - shell:
47           !include-raw-escape: ./rebase-jobs.sh
48
49     publishers:
50       - notify-slack:
51           slack-channel: '#infra'
52           notify-start: false
53           notify-success: false
54           notify-failure: true
55           notify-back-to-normal: true