blob: f150f80a0dc674f210b5f0ccd68d02a60b94dbcd [file] [log] [blame]
Filip Pytlouncd006a82017-06-28 13:08:43 +02001parameters:
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 Pytloun41478182017-06-28 15:53:24 +020019 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010020 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytlouncd006a82017-06-28 13:08:43 +020021 credentials: "gerrit"
22 script: build-debian-packages-{{build}}.groovy
Filip Pytloun1fc57792017-06-30 15:38:09 +020023 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 Pytlouncd006a82017-06-28 13:08:43 +020036 param:
37 SOURCE_URL:
38 type: string
Filip Pytloun7aab6182017-06-30 12:18:11 +020039 default: "${_param:jenkins_gerrit_url}/mk/python-flask-hello"
Filip Pytlouncd006a82017-06-28 13:08:43 +020040 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 Pytloun0be69e02017-06-30 15:17:24 +020048 default: ""
Filip Pytlouncd006a82017-06-28 13:08:43 +020049 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'