blob: c9a24420bdcd9ce600bbb698f201fecec592c287 [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"
Jakub Josef7938b532017-12-12 18:02:03 +010025 branch: "${_param:jenkins_pipelines_branch}"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040026 credentials: "gerrit"
27 script: test-groovy-pipeline.groovy
28 trigger:
29 gerrit:
30 project:
31 "{{repo}}":
32 branches:
33 - master
34 event:
35 patchset:
36 - created:
37 excludeDrafts: false
38 excludeTrivialRebase: false
39 excludeNoCodeChange: false
40 comment:
41 - addedContains:
42 commentAddedCommentContains: '(recheck|reverify)'
43 param:
44 CREDENTIALS_ID:
Jakub Josef90379352017-03-31 14:08:06 +020045 type: string
Ilya Kharin1bd3c042017-07-13 23:24:08 +040046 default: "gerrit"
47 GRADLE_IMAGE:
Jakub Josef90379352017-03-31 14:08:06 +020048 type: string
Ilya Kharin1bd3c042017-07-13 23:24:08 +040049 default: "niaquinto/gradle"
50 GRADLE_CMD:
51 type: string
Vladislav Naumovf7de8042017-08-11 15:31:59 +030052 default: "check --info"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040053 DEFAULT_GIT_URL:
54 type: string
55 description: "Run against alternate system reclass"
56 default: "${_param:jenkins_gerrit_url}/{{repo}}"
57 DEFAULT_GIT_REF:
58 type: string
59 default: master