blob: c8eaab0726d62ca2bb97ad56fc5e5179781ff914 [file] [log] [blame]
Jakub Josefe8412392017-03-15 18:04:19 +01001parameters:
azvyagintsev16ca7ce2018-08-21 17:20:33 +03002 _param:
3 mcp_docker_registry: 'docker-dev-local.docker.mirantis.net'
Jakub Josefe8412392017-03-15 18:04:19 +01004 jenkins:
5 client:
Ilya Kharin1bd3c042017-07-13 23:24:08 +04006 job_template:
7 test-pipelines:
8 name: test-{{name}}
9 jobs:
10 - name: mk-mk-pipelines
11 repo: mk/mk-pipelines
chnydafe79d532017-09-26 17:04:14 +020012 - name: mcp-ci-pipeline-library
13 repo: mcp-ci/pipeline-library
Ilya Kharin1bd3c042017-07-13 23:24:08 +040014 - name: oss-jenkins-pipelines
15 repo: oss/jenkins/pipelines
vnaumovf90ea292018-07-24 15:35:46 +040016 - name: map-map-pipelines
17 repo: map/map-pipelines
Ilya Kharin1bd3c042017-07-13 23:24:08 +040018 template:
19 discard:
20 build:
21 keep_num: 25
22 artifact:
23 keep_num: 25
24 type: workflow-scm
25 concurrent: true
26 scm:
27 type: git
28 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010029 branch: "${_param:jenkins_pipelines_branch}"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040030 credentials: "gerrit"
31 script: test-groovy-pipeline.groovy
32 trigger:
33 gerrit:
34 project:
35 "{{repo}}":
36 branches:
37 - master
38 event:
39 patchset:
40 - created:
41 excludeDrafts: false
42 excludeTrivialRebase: false
43 excludeNoCodeChange: false
44 comment:
45 - addedContains:
46 commentAddedCommentContains: '(recheck|reverify)'
47 param:
48 CREDENTIALS_ID:
Jakub Josef90379352017-03-31 14:08:06 +020049 type: string
Ilya Kharin1bd3c042017-07-13 23:24:08 +040050 default: "gerrit"
51 GRADLE_IMAGE:
Jakub Josef90379352017-03-31 14:08:06 +020052 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030053 default: "${_param:mcp_docker_registry}/mirantis/cicd/niaquinto_gradle"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040054 GRADLE_CMD:
55 type: string
Vladislav Naumovf7de8042017-08-11 15:31:59 +030056 default: "check --info"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040057 DEFAULT_GIT_URL:
58 type: string
59 description: "Run against alternate system reclass"
60 default: "${_param:jenkins_gerrit_url}/{{repo}}"
61 DEFAULT_GIT_REF:
62 type: string
63 default: master