blob: a0cf5b120c7c6fe52b698ccb7ca5fc0d5664f70a [file] [log] [blame]
Fatih Degirmenci16ccc352019-03-14 19:18:03 -07001- job-template:
robert.tomczyk591f1b82019-06-24 09:43:47 +01002 name: 'acumos-{project-name}-push-upstream'
Fatih Degirmenci16ccc352019-03-14 19:18:03 -07003
robert.tomczyk591f1b82019-06-24 09:43:47 +01004 node: infra-build01-ubuntu1804
Fatih Degirmenci16ccc352019-03-14 19:18:03 -07005
6 disabled: false
7
8 concurrent: true
9
10 properties:
11 - logrotate
12
13 parameters:
robert.tomczyk591f1b82019-06-24 09:43:47 +010014 - string:
15 name: PROJECT
16 default: 'acumos/{project}'
17 description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
Fatih Degirmenci16ccc352019-03-14 19:18:03 -070018 - nordix-gerrit-parameters
19
20 scm:
21 - git-scm-gerrit:
22 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
robert.tomczyk591f1b82019-06-24 09:43:47 +010023 branch: $GERRIT_BRANCH
Fatih Degirmenci16ccc352019-03-14 19:18:03 -070024 refspec: $GERRIT_REFSPEC
robert.tomczyk7e507872019-06-18 17:20:26 +010025 wipe_workspace: true
26 clean_before: false
Fatih Degirmenci16ccc352019-03-14 19:18:03 -070027
28 triggers:
29 - nordix-gerrit-push-upstream:
Fatih Degirmenci861b17f2019-03-14 19:31:15 -070030 project: 'acumos/{project}'
robert.tomczyk591f1b82019-06-24 09:43:47 +010031 branch: '**'
Fatih Degirmenci16ccc352019-03-14 19:18:03 -070032 files: '**'
33
34 wrappers:
35 - build-timeout:
36 timeout: 10
37
38 builders:
39 - shell:
40 !include-raw-escape: ./push-upstream-jobs.sh
41
42 publishers:
43 - notify-slack:
44 slack-channel: '#infra'