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 |
| 35 | comment: |
| 36 | - addedContains: |
| 37 | commentAddedCommentContains: 'rebuild' |
| 38 | param: |
| 39 | IMAGE_NAME: |
| 40 | type: string |
| 41 | default: "devops-portal" |
| 42 | IMAGE_TAGS: |
| 43 | type: string |
| 44 | default: "latest" |
| 45 | CREDENTIALS_ID: |
| 46 | type: string |
| 47 | default: "gerrit" |
| 48 | DOCKERFILE_PATH: |
| 49 | type: string |
| 50 | default: "docker/devops-portal" |
| 51 | DOCKER_REGISTRY: |
| 52 | type: string |
| 53 | default: "docker-dev-virtual.docker.mirantis.net" |
| 54 | PROJECT_NAMESPACE: |
| 55 | type: string |
| 56 | default: "oss" |