blob: f40bde35b261c7e6547341e1c062130c7c77a218 [file] [log] [blame]
Volodymyr Stoiko585367b2017-07-28 17:23:39 +03001parameters:
2 jenkins:
3 client:
4 job:
5 docker-build-images-pushkin-codebase:
6 name: docker-build-images-pushkin-codebase
7 discard:
8 build:
9 keep_num: 25
10 artifact:
11 keep_num: 25
12 type: workflow-scm
13 concurrent: true
14 scm:
15 type: git
16 url: "${_param:jenkins_gerrit_url}/oss/jenkins/pipelines"
17 credentials: "gerrit"
18 script: docker-build-image-pipeline.groovy
19 trigger:
20 gerrit:
21 project:
22 "oss/pushkin":
23 branches:
24 - devel
25 skip_vote:
26 - successful
27 - failed
28 - unstable
29 - not_built
30 event:
31 patchset:
32 - created:
33 excludeDrafts: false
34 excludeNoCodeChange: false
35 change:
36 - merged
37 comment:
38 - addedContains:
39 commentAddedCommentContains: 'rebuild'
40 param:
41 IMAGE_NAME:
42 type: string
43 default: "pushkin"
44 IMAGE_TAGS:
45 type: string
46 default: ""
47 CREDENTIALS_ID:
48 type: string
49 default: "gerrit"
50 DOCKER_REGISTRY:
51 type: string
52 default: "docker-dev-virtual.docker.mirantis.net"
53 PROJECT_NAMESPACE:
54 type: string
55 default: "oss"
56 DOCKERFILE_PATH:
57 type: string
58 default: "Dockerfile"
59 CONTEXT_PATH:
60 type: string
61 default: "."
62 CUSTOM_GERRIT_PROJECT:
63 type: string
64 default: oss/docker-pushkin
65 CUSTOM_GERRIT_BRANCH:
66 type: string
67 default: master
68 CI_BUILD_ARG_PUSHKIN_REPO:
69 type: string
70 default: ""
71 CI_BUILD_ARG_PUSHKIN_REF:
72 type: string
73 default: ""