blob: 3b831d8408e26efc4c39c7c1b1624698296eafaf [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
Ilya Kharin2460c802017-07-05 20:03:20 +040016 url: "${_param:jenkins_gerrit_url}/oss/jenkins/pipelines"
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040017 credentials: "gerrit"
Ilya Kharin2460c802017-07-05 20:03:20 +040018 script: docker-build-image-pipeline.groovy
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040019 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
Ilya Kharin88868342017-06-01 16:14:59 +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 Ivanovb9c5a852017-06-21 15:13:37 +040047 CONTEXT_PATH:
48 type: string
49 default: "."
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040050 CREDENTIALS_ID:
51 type: string
52 default: "gerrit"
53 DOCKERFILE_PATH:
54 type: string
Mikhail Ivanovb9c5a852017-06-21 15:13:37 +040055 default: "docker/devops-portal/Dockerfile"
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040056 DOCKER_REGISTRY:
57 type: string
58 default: "docker-dev-virtual.docker.mirantis.net"
59 PROJECT_NAMESPACE:
60 type: string
61 default: "oss"