blob: e58f9a7b10e5b8db0de64afcb30d325eca78b478 [file] [log] [blame]
robert.tomczykf97b3c22019-09-18 15:14:38 +01001- job-template:
2 name: 'oransc-{project-name}-push-upstream'
robert.tomczykaaa0d452022-01-21 15:10:34 +00003 node: infra-ubuntu2004
robert.tomczykf97b3c22019-09-18 15:14:38 +01004 disabled: false
5 concurrent: false
6
7 properties:
8 - logrotate
9
10 parameters:
11 - string:
12 name: PROJECT
13 default: 'oransc/{project}'
14 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
15 - nordix-gerrit-parameters
16
17 scm:
18 - git-scm-gerrit:
19 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
20 branch: $GERRIT_BRANCH
21 refspec: $GERRIT_REFSPEC
22 wipe_workspace: true
23 clean_before: false
24
25 triggers:
26 - nordix-gerrit-push-upstream:
27 project: 'oransc/{project}'
28 branch: '**'
29 files: '**'
30
31 wrappers:
32 - build-timeout:
33 timeout: 10
robert.tomczyk2e9b3782019-10-09 10:10:26 +010034 - ssh-agent-credentials:
35 users:
36 - 'infra-upstream-gerrit-ssh-passphrase'
robert.tomczykaaa0d452022-01-21 15:10:34 +000037 - 'nordixinfra-nordix-gerrit-ssh'
robert.tomczykf97b3c22019-09-18 15:14:38 +010038
39 builders:
40 - shell:
41 !include-raw-escape: ./push-upstream-jobs.sh