Add it/test
[infra/cicd.git] / jjb / acumos / global-templates-acumos-push-upstream.yaml
1 - job-template:
2     name: 'acumos-{project-name}-push-upstream'
3
4     node: infra-ubuntu2004
5
6     disabled: false
7
8     concurrent: false
9
10     properties:
11       - logrotate
12
13     parameters:
14       - string:
15           name: PROJECT
16           default: 'acumos/{project}'
17           description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
18       - nordix-gerrit-parameters
19
20     scm:
21       - git-scm-gerrit:
22           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
23           branch: $GERRIT_BRANCH
24           refspec: $GERRIT_REFSPEC
25           wipe_workspace: true
26           clean_before: false
27
28     triggers:
29       - nordix-gerrit-push-upstream:
30           project: 'acumos/{project}'
31           branch: '**'
32           files: '**'
33
34     wrappers:
35       - build-timeout:
36           timeout: 10
37       - ssh-agent-credentials:
38           users:
39             - 'infra-upstream-gerrit-ssh-passphrase'
40             - 'nordixinfra-nordix-gerrit-ssh'
41
42     builders:
43       - shell:
44           !include-raw-escape: ./push-upstream-jobs.sh