blob: 7af37eb6a45934bfc3804bd3b817dacce6352a72 [file] [log] [blame]
Mikhail Ivanov2cde0452017-04-14 15:39:29 +04001parameters:
2 jenkins:
3 client:
4 job:
5 docker-build-images-devops-portal:
6 name: docker-build-images-devops-portal
7 discard:
8 build:
9 keep_num: 25
10 artifact:
11 keep_num: 25
12 type: workflow-scm
13 concurrent: false
14 scm:
15 type: git
16 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
17 credentials: "gerrit"
18 script: docker-build-to-jfrog.groovy
19 trigger:
20 gerrit:
21 project:
22 "oss/devops-portal":
23 branches:
24 - master
Mikhail Ivanov973a0df2017-05-04 16:55:58 +040025 skip_vote:
26 - successful
27 - failed
28 - unstable
29 - not_built
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040030 event:
31 patchset:
32 - created:
33 excludeDrafts: false
34 excludeNoCodeChange: false
Mikhail Ivanov4f665652017-05-15 13:37:47 +040035 change:
36 - merged
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040037 comment:
38 - addedContains:
39 commentAddedCommentContains: 'rebuild'
40 param:
41 IMAGE_NAME:
42 type: string
Mikhail Ivanov65c7fe92017-05-11 16:52:38 +040043 default: "devops_portal"
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040044 IMAGE_TAGS:
45 type: string
Mikhail Ivanov65c7fe92017-05-11 16:52:38 +040046 default: ""
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040047 CREDENTIALS_ID:
48 type: string
49 default: "gerrit"
50 DOCKERFILE_PATH:
51 type: string
52 default: "docker/devops-portal"
53 DOCKER_REGISTRY:
54 type: string
55 default: "docker-dev-virtual.docker.mirantis.net"
56 PROJECT_NAMESPACE:
57 type: string
58 default: "oss"