blob: 9c3025faaa1900478930665d33286d63cb6f989a [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 Ivanov2cde0452017-04-14 15:39:29 +040025 event:
26 patchset:
27 - created:
28 excludeDrafts: false
29 excludeNoCodeChange: false
Mikhail Ivanov4f665652017-05-15 13:37:47 +040030 change:
31 - merged
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040032 comment:
33 - addedContains:
34 commentAddedCommentContains: 'rebuild'
35 param:
36 IMAGE_NAME:
37 type: string
Ilya Kharin88868342017-06-01 16:14:59 +040038 default: "devops-portal"
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040039 IMAGE_TAGS:
40 type: string
Mikhail Ivanov65c7fe92017-05-11 16:52:38 +040041 default: ""
Mikhail Ivanovb9c5a852017-06-21 15:13:37 +040042 CONTEXT_PATH:
43 type: string
44 default: "."
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040045 CREDENTIALS_ID:
46 type: string
47 default: "gerrit"
48 DOCKERFILE_PATH:
49 type: string
Mikhail Ivanovb9c5a852017-06-21 15:13:37 +040050 default: "docker/devops-portal/Dockerfile"
Mikhail Ivanov2cde0452017-04-14 15:39:29 +040051 DOCKER_REGISTRY:
52 type: string
53 default: "docker-dev-virtual.docker.mirantis.net"
54 PROJECT_NAMESPACE:
55 type: string
56 default: "oss"