blob: d10993e965a51ad22d5cbbdb3f72dc2b7ed9caff [file] [log] [blame]
Volodymyr Stoikof11e5c62017-07-11 11:26:50 +03001parameters:
2 jenkins:
3 client:
4 job:
5 docker-build-images-janitor-monkey-codebase:
6 name: docker-build-images-janitor-monkey-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/SimianArmy":
23 branches:
24 - devel
Volodymyr Stoikof11e5c62017-07-11 11:26:50 +030025 event:
26 patchset:
27 - created:
28 excludeDrafts: false
29 excludeNoCodeChange: false
30 change:
31 - merged
32 comment:
33 - addedContains:
34 commentAddedCommentContains: 'rebuild'
35 param:
36 IMAGE_NAME:
37 type: string
38 default: "janitor-monkey"
39 IMAGE_TAGS:
40 type: string
41 default: ""
42 CREDENTIALS_ID:
43 type: string
44 default: "gerrit"
45 DOCKER_REGISTRY:
46 type: string
47 default: "docker-dev-virtual.docker.mirantis.net"
48 PROJECT_NAMESPACE:
49 type: string
50 default: "oss"
51 DOCKERFILE_PATH:
52 type: string
53 default: "Dockerfile"
54 CONTEXT_PATH:
55 type: string
56 default: "."
57 CUSTOM_GERRIT_PROJECT:
58 type: string
59 default: oss/docker-janitor-monkey
60 CUSTOM_GERRIT_BRANCH:
61 type: string
62 default: master
63 CI_BUILD_ARG_JANITOR_MONKEY_REPO:
64 type: string
65 default: ""
66 CI_BUILD_ARG_JANITOR_MONKEY_REF:
67 type: string
68 default: ""