Filip Pytloun | cd006a8 | 2017-06-28 13:08:43 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | jenkins_pollscm_spec: "H/60 * * * *" |
| 4 | jenkins: |
| 5 | client: |
| 6 | job_template: |
| 7 | build-debian-python-flask-hello: |
| 8 | name: build-debian-{{package}}-ubuntu-{{dist}} |
| 9 | jobs: |
| 10 | - package: python-flask-hello |
| 11 | dist: trusty |
| 12 | build: pipeline |
| 13 | branch: master |
| 14 | template: |
| 15 | type: workflow-scm |
| 16 | concurrent: false |
| 17 | scm: |
| 18 | type: git |
Filip Pytloun | 4147818 | 2017-06-28 15:53:24 +0200 | [diff] [blame] | 19 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame^] | 20 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | cd006a8 | 2017-06-28 13:08:43 +0200 | [diff] [blame] | 21 | credentials: "gerrit" |
| 22 | script: build-debian-packages-{{build}}.groovy |
Filip Pytloun | 1fc5779 | 2017-06-30 15:38:09 +0200 | [diff] [blame] | 23 | trigger: |
| 24 | gerrit: |
| 25 | project: |
| 26 | mk/{{package}}: |
| 27 | branches: |
| 28 | - "{{branch}}" |
| 29 | message: |
| 30 | build_successful: "Build successful" |
| 31 | build_unstable: "Build unstable" |
| 32 | build_failure: "Build failed" |
| 33 | event: |
| 34 | ref: |
| 35 | - updated |
Filip Pytloun | cd006a8 | 2017-06-28 13:08:43 +0200 | [diff] [blame] | 36 | param: |
| 37 | SOURCE_URL: |
| 38 | type: string |
Filip Pytloun | 7aab618 | 2017-06-30 12:18:11 +0200 | [diff] [blame] | 39 | default: "${_param:jenkins_gerrit_url}/mk/python-flask-hello" |
Filip Pytloun | cd006a8 | 2017-06-28 13:08:43 +0200 | [diff] [blame] | 40 | SOURCE_BRANCH: |
| 41 | type: string |
| 42 | default: "{{branch}}" |
| 43 | SOURCE_CREDENTIALS: |
| 44 | type: string |
| 45 | default: "gerrit" |
| 46 | EXTRA_REPO_URL: |
| 47 | type: string |
Filip Pytloun | 0be69e0 | 2017-06-30 15:17:24 +0200 | [diff] [blame] | 48 | default: "" |
Filip Pytloun | cd006a8 | 2017-06-28 13:08:43 +0200 | [diff] [blame] | 49 | EXTRA_REPO_KEY_URL: |
| 50 | type: string |
| 51 | default: "${_param:jenkins_aptly_url}/public.gpg" |
| 52 | APTLY_URL: |
| 53 | type: string |
| 54 | default: "${_param:jenkins_aptly_api_url}" |
| 55 | APTLY_REPO: |
| 56 | type: string |
| 57 | default: "ubuntu-{{dist}}-extra" |
| 58 | OS: |
| 59 | type: string |
| 60 | default: "ubuntu" |
| 61 | DIST: |
| 62 | type: string |
| 63 | default: "{{dist}}" |
| 64 | ARCH: |
| 65 | type: string |
| 66 | default: "amd64" |
| 67 | PPA: |
| 68 | type: string |
| 69 | default: "mirantis-opencontrail/extra" |
| 70 | UPLOAD_PPA: |
| 71 | type: boolean |
| 72 | default: 'false' |
| 73 | UPLOAD_APTLY: |
| 74 | type: boolean |
| 75 | default: 'true' |