blob: 50f72a408bbc7c9a7c3cc6774121ab1f0f844555 [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
25 event:
26 patchset:
27 - created:
28 excludeDrafts: false
29 excludeNoCodeChange: false
30 comment:
31 - addedContains:
32 commentAddedCommentContains: 'rebuild'
33 param:
34 IMAGE_NAME:
35 type: string
36 default: "devops-portal"
37 IMAGE_TAGS:
38 type: string
39 default: "latest"
40 CREDENTIALS_ID:
41 type: string
42 default: "gerrit"
43 DOCKERFILE_PATH:
44 type: string
45 default: "docker/devops-portal"
46 DOCKER_REGISTRY:
47 type: string
48 default: "docker-dev-virtual.docker.mirantis.net"
49 PROJECT_NAMESPACE:
50 type: string
51 default: "oss"