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" |
Filip Pytloun | cd006a8 | 2017-06-28 13:08:43 +0200 | [diff] [blame] | 20 | credentials: "gerrit" |
| 21 | script: build-debian-packages-{{build}}.groovy |
Filip Pytloun | 35ca362 | 2017-06-30 10:45:02 +0200 | [diff] [blame^] | 22 | # trigger: |
| 23 | # pollscm: |
| 24 | # spec: ${_param:jenkins_pollscm_spec} |
Filip Pytloun | cd006a8 | 2017-06-28 13:08:43 +0200 | [diff] [blame] | 25 | param: |
| 26 | SOURCE_URL: |
| 27 | type: string |
| 28 | default: "https://github.com/tcpcloud/python-flask-hello.git" |
| 29 | SOURCE_BRANCH: |
| 30 | type: string |
| 31 | default: "{{branch}}" |
| 32 | SOURCE_CREDENTIALS: |
| 33 | type: string |
| 34 | default: "gerrit" |
| 35 | EXTRA_REPO_URL: |
| 36 | type: string |
| 37 | default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing extra" |
| 38 | EXTRA_REPO_KEY_URL: |
| 39 | type: string |
| 40 | default: "${_param:jenkins_aptly_url}/public.gpg" |
| 41 | APTLY_URL: |
| 42 | type: string |
| 43 | default: "${_param:jenkins_aptly_api_url}" |
| 44 | APTLY_REPO: |
| 45 | type: string |
| 46 | default: "ubuntu-{{dist}}-extra" |
| 47 | OS: |
| 48 | type: string |
| 49 | default: "ubuntu" |
| 50 | DIST: |
| 51 | type: string |
| 52 | default: "{{dist}}" |
| 53 | ARCH: |
| 54 | type: string |
| 55 | default: "amd64" |
| 56 | PPA: |
| 57 | type: string |
| 58 | default: "mirantis-opencontrail/extra" |
| 59 | UPLOAD_PPA: |
| 60 | type: boolean |
| 61 | default: 'false' |
| 62 | UPLOAD_APTLY: |
| 63 | type: boolean |
| 64 | default: 'true' |