blob: fce75a089fb0169765e7ef0bc55b6976ed9f2c42 [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.tomczyk325d5472022-01-21 12:43:08 +00003 node: infra-ubuntu2004
robert.tomczyke53f0092019-06-05 12:03:09 +01004 disabled: false
robert.tomczyk28e10412019-06-26 11:10:59 +01005 concurrent: false
robert.tomczyke53f0092019-06-05 12:03:09 +01006
7 properties:
8 - logrotate
9
10 parameters:
robert.tomczyka49a3a42019-09-04 15:43:19 +010011 - string:
12 name: PROJECT
13 default: 'onap/{project}'
14 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
robert.tomczyke53f0092019-06-05 12:03:09 +010015 - nordix-gerrit-parameters
16
17 scm:
18 - git-scm-gerrit:
19 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
robert.tomczyka49a3a42019-09-04 15:43:19 +010020 branch: $GERRIT_BRANCH
robert.tomczyke53f0092019-06-05 12:03:09 +010021 refspec: $GERRIT_REFSPEC
robert.tomczyk7e507872019-06-18 17:20:26 +010022 wipe_workspace: true
23 clean_before: false
robert.tomczyke53f0092019-06-05 12:03:09 +010024
25 triggers:
26 - nordix-gerrit-push-upstream:
27 project: 'onap/{project}'
robert.tomczyka49a3a42019-09-04 15:43:19 +010028 branch: '**'
robert.tomczyke53f0092019-06-05 12:03:09 +010029 files: '**'
30
31 wrappers:
32 - build-timeout:
33 timeout: 10
robert.tomczyk8721bec2019-10-11 13:48:12 +010034 - ssh-agent-credentials:
35 users:
36 - 'infra-upstream-gerrit-ssh-passphrase'
robert.tomczyk3b23ad22022-01-21 13:11:11 +000037 - 'nordixinfra-nordix-gerrit-ssh'
robert.tomczyka22a9302021-03-31 16:46:13 +010038 - nordix-gerrit-http-api-token
robert.tomczyke53f0092019-06-05 12:03:09 +010039
40 builders:
41 - shell:
42 !include-raw-escape: ./push-upstream-jobs.sh