Merge "Add master integration test job for metal3_dev_env"
[infra/cicd.git] / jjb / onap / global-templates-onap-push-upstream.yaml
1 - job-template:
2     name: 'onap-{project-name}-push-upstream'
3
4     node: infra-ubuntu1804
5
6     disabled: false
7
8     concurrent: false
9
10     properties:
11       - logrotate
12
13     parameters:
14       - string:
15           name: PROJECT
16           default: 'onap/{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: 'onap/{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
41     builders:
42       - shell:
43           !include-raw-escape: ./push-upstream-jobs.sh