Add it/test
[infra/cicd.git] / jjb / acumos / global-templates-acumos-rebase.yaml
1 - job-template:
2     name: 'acumos-{project-name}-rebase'
3
4     node: infra-ubuntu2004
5
6     disabled: false
7
8     concurrent: false
9
10     properties:
11       - logrotate
12
13     parameters:
14       - acumos-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/acumos/{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: 'master'
28           refspec: ''
29           wipe_workspace: false
30           clean_before: true
31
32     triggers:
33       - acumos-gerrit-trigger-change-merged:
34           project: '{project}'
35           branch: '**'
36           files: '**'
37       - timed: "@midnight"
38
39     wrappers:
40       - build-timeout:
41           timeout: 10
42       - ssh-agent-credentials:
43           users:
44             - 'nordixinfra-nordix-gerrit-ssh'
45
46     builders:
47       - shell:
48           !include-raw-escape: ../global/rebase-jobs.sh
49
50     publishers:
51       - notify-slack:
52           slack-channel: '#infra'
53           notify-start: false
54           notify-success: false
55           notify-failure: true
56           notify-back-to-normal: true