blob: aefd2f18bef6804d30756f9117d8fa38cc1959ac [file] [log] [blame]
robert.tomczyke53f0092019-06-05 12:03:09 +01001- job-template:
robert.tomczyka49a3a42019-09-04 15:43:19 +01002 name: 'onap-{project-name}-push-upstream'
robert.tomczyke53f0092019-06-05 12:03:09 +01003
robert.tomczyka49a3a42019-09-04 15:43:19 +01004 node: infra-ubuntu1804
robert.tomczyke53f0092019-06-05 12:03:09 +01005
6 disabled: false
7
robert.tomczyk28e10412019-06-26 11:10:59 +01008 concurrent: false
robert.tomczyke53f0092019-06-05 12:03:09 +01009
10 properties:
11 - logrotate
12
13 parameters:
robert.tomczyka49a3a42019-09-04 15:43:19 +010014 - string:
15 name: PROJECT
16 default: 'onap/{project}'
17 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
robert.tomczyke53f0092019-06-05 12:03:09 +010018 - nordix-gerrit-parameters
19
20 scm:
21 - git-scm-gerrit:
22 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
robert.tomczyka49a3a42019-09-04 15:43:19 +010023 branch: $GERRIT_BRANCH
robert.tomczyke53f0092019-06-05 12:03:09 +010024 refspec: $GERRIT_REFSPEC
robert.tomczyk7e507872019-06-18 17:20:26 +010025 wipe_workspace: true
26 clean_before: false
robert.tomczyke53f0092019-06-05 12:03:09 +010027
28 triggers:
29 - nordix-gerrit-push-upstream:
30 project: 'onap/{project}'
robert.tomczyka49a3a42019-09-04 15:43:19 +010031 branch: '**'
robert.tomczyke53f0092019-06-05 12:03:09 +010032 files: '**'
33
34 wrappers:
35 - build-timeout:
36 timeout: 10
37
38 builders:
39 - shell:
40 !include-raw-escape: ./push-upstream-jobs.sh