blob: 93a79e6150f451f58af448a9b1ffaf20e38ddea3 [file] [log] [blame]
Vnaumove01c2e82018-01-12 15:26:57 +04001parameters:
2 jenkins:
3 client:
4 job:
5 docker-build-images-security-monkey-codebase:
6 name: docker-build-images-security-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-security-monkey-pipeline.groovy
19 trigger:
20 gerrit:
21 project:
22 "oss/security-monkey":
23 branches:
24 - mirantis_0_9_2
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: "security-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: "security-monkey/Dockerfile"
59 CONTEXT_PATH:
60 type: string
61 default: "."
62 CUSTOM_GERRIT_PROJECT:
63 type: string
64 default: oss/docker-security-monkey
65 CUSTOM_GERRIT_BRANCH:
66 type: string
67 default: master
68 CI_BUILD_ARG_SECURITY_MONKEY_REPO:
69 type: string
70 default: https://gerrit.mcp.mirantis.net/oss/security-monkey
71 CI_BUILD_ARG_SECURITY_MONKEY_BRANCH:
72 type: string
73 default: mirantis_0_9_2