blob: 9eea436c4f3ff358b49c62f897a5b52b1c9df75e [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.tomczykaaa0d452022-01-21 15:10:34 +00004 node: infra-ubuntu2004
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.tomczykaaa0d452022-01-21 15:10:34 +000040 - 'nordixinfra-nordix-gerrit-ssh'
robert.tomczyka9b3ba62019-05-22 18:19:17 +010041
42 builders:
43 - shell:
44 !include-raw-escape: ./push-upstream-jobs.sh