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