7b5612e9cd8eb6cf8a778080be6f4319e09d540c
[infra/cicd.git] / jjb / global / global-templates-push-upstream.yaml
1 - job-template:
2     name: '{project-name}-{stream}-push-upstream'
3
4     node: onap-ubuntu1604
5
6     disabled: false
7
8     concurrent: true
9
10     parameters:
11       - project-parameters:
12           project: '{project}'
13           branch: '{branch}'
14       - nordix-gerrit-parameters
15
16     scm:
17       - git-scm-gerrit:
18           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
19           branch: '{branch}'
20           refspec: $GERRIT_REFSPEC
21
22     triggers:
23       - nordix-gerrit-push-upstream:
24           project: '{project}'
25           branch: '{branch}'
26           files: '**'
27
28     wrappers:
29       - build-timeout:
30           timeout: 10
31
32     builders:
33       - shell:
34           !include-raw-escape: ./push-upstream-jobs.sh