Merge "Create jenkins pipeline for k6 performance tests"
[infra/cicd.git] / jjb / global / global-templates-push-upstream.yaml
1 - job-template:
2     name: '{project-name}-{stream}-push-upstream'
3
4     node: onap-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       - nordix-gerrit-parameters
18
19     scm:
20       - git-scm-gerrit:
21           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
22           branch: '{branch}'
23           refspec: $GERRIT_REFSPEC
24           wipe_workspace: true
25           clean_before: false
26
27     triggers:
28       - nordix-gerrit-push-upstream:
29           project: '{project}'
30           branch: '{branch}'
31           files: '**'
32
33     wrappers:
34       - build-timeout:
35           timeout: 10
36       - ssh-agent-credentials:
37           users:
38             - 'infra-upstream-gerrit-ssh-passphrase'
39             - 'nordixinfra-nordix-gerrit-ssh'
40
41     builders:
42       - shell:
43           !include-raw-escape: ./push-upstream-jobs.sh