blob: b1b782ae4a041cef18960b4263d40862de7d315b [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
chnydafe79d532017-09-26 17:04:14 +020010 - name: mcp-ci-pipeline-library
11 repo: mcp-ci/pipeline-library
Ilya Kharin1bd3c042017-07-13 23:24:08 +040012 - name: oss-jenkins-pipelines
13 repo: oss/jenkins/pipelines
14 template:
15 discard:
16 build:
17 keep_num: 25
18 artifact:
19 keep_num: 25
20 type: workflow-scm
21 concurrent: true
22 scm:
23 type: git
24 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
25 credentials: "gerrit"
26 script: test-groovy-pipeline.groovy
27 trigger:
28 gerrit:
29 project:
30 "{{repo}}":
31 branches:
32 - master
33 event:
34 patchset:
35 - created:
36 excludeDrafts: false
37 excludeTrivialRebase: false
38 excludeNoCodeChange: false
39 comment:
40 - addedContains:
41 commentAddedCommentContains: '(recheck|reverify)'
42 param:
43 CREDENTIALS_ID:
Jakub Josef90379352017-03-31 14:08:06 +020044 type: string
Ilya Kharin1bd3c042017-07-13 23:24:08 +040045 default: "gerrit"
46 GRADLE_IMAGE:
Jakub Josef90379352017-03-31 14:08:06 +020047 type: string
Ilya Kharin1bd3c042017-07-13 23:24:08 +040048 default: "niaquinto/gradle"
49 GRADLE_CMD:
50 type: string
Vladislav Naumovf7de8042017-08-11 15:31:59 +030051 default: "check --info"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040052 DEFAULT_GIT_URL:
53 type: string
54 description: "Run against alternate system reclass"
55 default: "${_param:jenkins_gerrit_url}/{{repo}}"
56 DEFAULT_GIT_REF:
57 type: string
58 default: master