blob: 84ff1cc3ca1e6a89e3bc4eebe9697b1b63817508 [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
Alexander Evseev4589d712018-08-03 12:36:15 +020017 discard:
18 build:
19 keep_num: 10
20 artifact:
21 keep_num: 10
Filip Pytlouncd006a82017-06-28 13:08:43 +020022 scm:
23 type: git
Filip Pytloun41478182017-06-28 15:53:24 +020024 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010025 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytlouncd006a82017-06-28 13:08:43 +020026 credentials: "gerrit"
27 script: build-debian-packages-{{build}}.groovy
Filip Pytloun1fc57792017-06-30 15:38:09 +020028 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
Filip Pytlouncd006a82017-06-28 13:08:43 +020041 param:
42 SOURCE_URL:
43 type: string
Filip Pytloun7aab6182017-06-30 12:18:11 +020044 default: "${_param:jenkins_gerrit_url}/mk/python-flask-hello"
Filip Pytlouncd006a82017-06-28 13:08:43 +020045 SOURCE_BRANCH:
46 type: string
47 default: "{{branch}}"
48 SOURCE_CREDENTIALS:
49 type: string
50 default: "gerrit"
51 EXTRA_REPO_URL:
52 type: string
Filip Pytloun0be69e02017-06-30 15:17:24 +020053 default: ""
Filip Pytlouncd006a82017-06-28 13:08:43 +020054 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'