blob: 822084d13406432be24f0882252076dea31e78d4 [file] [log] [blame]
Jakub Josefe8412392017-03-15 18:04:19 +01001parameters:
2 jenkins:
3 client:
Ilya Kharin1bd3c042017-07-13 23:24:08 +04004 job_template:
5 test-pipelines:
6 name: test-{{name}}
7 jobs:
8 - name: mk-mk-pipelines
9 repo: mk/mk-pipelines
10 - name: oss-jenkins-pipelines
11 repo: oss/jenkins/pipelines
12 template:
13 discard:
14 build:
15 keep_num: 25
16 artifact:
17 keep_num: 25
18 type: workflow-scm
19 concurrent: true
20 scm:
21 type: git
22 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
23 credentials: "gerrit"
24 script: test-groovy-pipeline.groovy
25 trigger:
26 gerrit:
27 project:
28 "{{repo}}":
29 branches:
30 - master
31 event:
32 patchset:
33 - created:
34 excludeDrafts: false
35 excludeTrivialRebase: false
36 excludeNoCodeChange: false
37 comment:
38 - addedContains:
39 commentAddedCommentContains: '(recheck|reverify)'
40 param:
41 CREDENTIALS_ID:
Jakub Josef90379352017-03-31 14:08:06 +020042 type: string
Ilya Kharin1bd3c042017-07-13 23:24:08 +040043 default: "gerrit"
44 GRADLE_IMAGE:
Jakub Josef90379352017-03-31 14:08:06 +020045 type: string
Ilya Kharin1bd3c042017-07-13 23:24:08 +040046 default: "niaquinto/gradle"
47 GRADLE_CMD:
48 type: string
Vladislav Naumovf7de8042017-08-11 15:31:59 +030049 default: "check --info"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040050 DEFAULT_GIT_URL:
51 type: string
52 description: "Run against alternate system reclass"
53 default: "${_param:jenkins_gerrit_url}/{{repo}}"
54 DEFAULT_GIT_REF:
55 type: string
56 default: master