blob: 78167bd31183c62c6b2beaa173593640a17b4b41 [file] [log] [blame]
Volodymyr Stoikof11e5c62017-07-11 11:26:50 +03001parameters:
2 jenkins:
3 client:
4 job:
5 docker-build-images-janitor-monkey-docker:
6 name: docker-build-images-janitor-monkey-docker
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/docker-janitor-monkey":
23 branches:
24 - master
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: "janitor-monkey"
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
Volodymyr Stoikoa65aa8a2017-08-02 16:26:54 +030061 default: "."