Kyrylo Mashchenko | 0ec0976 | 2018-10-26 11:06:48 +0000 | [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 | discard: |
| 18 | build: |
| 19 | keep_num: 10 |
| 20 | artifact: |
| 21 | keep_num: 10 |
| 22 | scm: |
| 23 | type: git |
| 24 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 25 | branch: "${_param:jenkins_pipelines_branch}" |
| 26 | credentials: "gerrit" |
| 27 | script: build-debian-packages-{{build}}.groovy |
| 28 | trigger: |
| 29 | gerrit: |
| 30 | project: |
| 31 | mk/{{package}}: |
| 32 | branches: |
| 33 | - "{{branch}}" |
| 34 | message: |
| 35 | build_successful: "Build successful" |
| 36 | build_unstable: "Build unstable" |
| 37 | build_failure: "Build failed" |
| 38 | event: |
| 39 | ref: |
| 40 | - updated |
| 41 | param: |
| 42 | SOURCE_URL: |
| 43 | type: string |
| 44 | default: "${_param:jenkins_gerrit_url}/mk/python-flask-hello" |
| 45 | SOURCE_BRANCH: |
| 46 | type: string |
| 47 | default: "{{branch}}" |
| 48 | SOURCE_CREDENTIALS: |
| 49 | type: string |
| 50 | default: "gerrit" |
| 51 | EXTRA_REPO_URL: |
| 52 | type: string |
| 53 | default: "" |
| 54 | EXTRA_REPO_KEY_URL: |
| 55 | type: string |
| 56 | default: "${_param:jenkins_aptly_url}/public.gpg" |
| 57 | APTLY_URL: |
| 58 | type: string |
| 59 | default: "${_param:jenkins_aptly_api_url}" |
| 60 | APTLY_REPO: |
| 61 | type: string |
| 62 | default: "ubuntu-{{dist}}-extra" |
| 63 | OS: |
| 64 | type: string |
| 65 | default: "ubuntu" |
| 66 | DIST: |
| 67 | type: string |
| 68 | default: "{{dist}}" |
| 69 | ARCH: |
| 70 | type: string |
| 71 | default: "amd64" |
| 72 | PPA: |
| 73 | type: string |
| 74 | default: "mirantis-opencontrail/extra" |
| 75 | UPLOAD_PPA: |
| 76 | type: boolean |
| 77 | default: 'false' |
| 78 | UPLOAD_APTLY: |
| 79 | type: boolean |
| 80 | default: 'true' |