blob: 4d661da6199b7ad32bae6d2c11a2d341cb1efa8a [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
Alexander Evseev74903d22018-08-28 12:45:59 +020038 - compare_type: ANT
39 name: release/*
Ilya Kharin1bd3c042017-07-13 23:24:08 +040040 event:
41 patchset:
42 - created:
43 excludeDrafts: false
44 excludeTrivialRebase: false
45 excludeNoCodeChange: false
46 comment:
47 - addedContains:
48 commentAddedCommentContains: '(recheck|reverify)'
49 param:
50 CREDENTIALS_ID:
Jakub Josef90379352017-03-31 14:08:06 +020051 type: string
Ilya Kharin1bd3c042017-07-13 23:24:08 +040052 default: "gerrit"
53 GRADLE_IMAGE:
Jakub Josef90379352017-03-31 14:08:06 +020054 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030055 default: "${_param:mcp_docker_registry}/mirantis/cicd/niaquinto_gradle"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040056 GRADLE_CMD:
57 type: string
Vladislav Naumovf7de8042017-08-11 15:31:59 +030058 default: "check --info"
Ilya Kharin1bd3c042017-07-13 23:24:08 +040059 DEFAULT_GIT_URL:
60 type: string
61 description: "Run against alternate system reclass"
62 default: "${_param:jenkins_gerrit_url}/{{repo}}"
63 DEFAULT_GIT_REF:
64 type: string
65 default: master