blob: d18b28164068d34463bbabcc25fea2de7dbc498e [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
vnaumovf90ea292018-07-24 15:35:46 +040014 - name: map-map-pipelines
15 repo: map/map-pipelines
Ilya Kharin1bd3c042017-07-13 23:24:08 +040016 template:
17 discard:
18 build:
19 keep_num: 25
20 artifact:
21 keep_num: 25
22 type: workflow-scm
23 concurrent: true
24 scm:
25 type: git
26 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010027 branch: "${_param:jenkins_pipelines_branch}"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040028 credentials: "gerrit"
29 script: test-groovy-pipeline.groovy
30 trigger:
31 gerrit:
32 project:
33 "{{repo}}":
34 branches:
35 - master
36 event:
37 patchset:
38 - created:
39 excludeDrafts: false
40 excludeTrivialRebase: false
41 excludeNoCodeChange: false
42 comment:
43 - addedContains:
44 commentAddedCommentContains: '(recheck|reverify)'
45 param:
46 CREDENTIALS_ID:
Jakub Josef90379352017-03-31 14:08:06 +020047 type: string
Ilya Kharin1bd3c042017-07-13 23:24:08 +040048 default: "gerrit"
49 GRADLE_IMAGE:
Jakub Josef90379352017-03-31 14:08:06 +020050 type: string
Mikhail Ivanov61095e62018-07-04 17:30:52 +040051 default: "docker-dev-local.docker.mirantis.net/mirantis/cicd/niaquinto_gradle"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040052 GRADLE_CMD:
53 type: string
Vladislav Naumovf7de8042017-08-11 15:31:59 +030054 default: "check --info"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040055 DEFAULT_GIT_URL:
56 type: string
57 description: "Run against alternate system reclass"
58 default: "${_param:jenkins_gerrit_url}/{{repo}}"
59 DEFAULT_GIT_REF:
60 type: string
61 default: master