Mikhail Ivanov | 2cde045 | 2017-04-14 15:39:29 +0400 | [diff] [blame] | 1 | parameters: |
| 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 Ivanov | 973a0df | 2017-05-04 16:55:58 +0400 | [diff] [blame] | 25 | skip_vote: |
| 26 | - successful |
| 27 | - failed |
| 28 | - unstable |
| 29 | - not_built |
Mikhail Ivanov | 2cde045 | 2017-04-14 15:39:29 +0400 | [diff] [blame] | 30 | event: |
| 31 | patchset: |
| 32 | - created: |
| 33 | excludeDrafts: false |
| 34 | excludeNoCodeChange: false |
Mikhail Ivanov | 4f66565 | 2017-05-15 13:37:47 +0400 | [diff] [blame] | 35 | change: |
| 36 | - merged |
Mikhail Ivanov | 2cde045 | 2017-04-14 15:39:29 +0400 | [diff] [blame] | 37 | comment: |
| 38 | - addedContains: |
| 39 | commentAddedCommentContains: 'rebuild' |
| 40 | param: |
| 41 | IMAGE_NAME: |
| 42 | type: string |
Mikhail Ivanov | 65c7fe9 | 2017-05-11 16:52:38 +0400 | [diff] [blame] | 43 | default: "devops_portal" |
Mikhail Ivanov | 2cde045 | 2017-04-14 15:39:29 +0400 | [diff] [blame] | 44 | IMAGE_TAGS: |
| 45 | type: string |
Mikhail Ivanov | 65c7fe9 | 2017-05-11 16:52:38 +0400 | [diff] [blame] | 46 | default: "" |
Mikhail Ivanov | 2cde045 | 2017-04-14 15:39:29 +0400 | [diff] [blame] | 47 | 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" |