blob: c7ecf9863a408c1b85d6e74baa9c4a1548441f7c [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"
Filip Pytlouncd006a82017-06-28 13:08:43 +020020 credentials: "gerrit"
21 script: build-debian-packages-{{build}}.groovy
Filip Pytloun1fc57792017-06-30 15:38:09 +020022 trigger:
23 gerrit:
24 project:
25 mk/{{package}}:
26 branches:
27 - "{{branch}}"
28 message:
29 build_successful: "Build successful"
30 build_unstable: "Build unstable"
31 build_failure: "Build failed"
32 event:
33 ref:
34 - updated
Filip Pytlouncd006a82017-06-28 13:08:43 +020035 param:
36 SOURCE_URL:
37 type: string
Filip Pytloun7aab6182017-06-30 12:18:11 +020038 default: "${_param:jenkins_gerrit_url}/mk/python-flask-hello"
Filip Pytlouncd006a82017-06-28 13:08:43 +020039 SOURCE_BRANCH:
40 type: string
41 default: "{{branch}}"
42 SOURCE_CREDENTIALS:
43 type: string
44 default: "gerrit"
45 EXTRA_REPO_URL:
46 type: string
Filip Pytloun0be69e02017-06-30 15:17:24 +020047 default: ""
Filip Pytlouncd006a82017-06-28 13:08:43 +020048 EXTRA_REPO_KEY_URL:
49 type: string
50 default: "${_param:jenkins_aptly_url}/public.gpg"
51 APTLY_URL:
52 type: string
53 default: "${_param:jenkins_aptly_api_url}"
54 APTLY_REPO:
55 type: string
56 default: "ubuntu-{{dist}}-extra"
57 OS:
58 type: string
59 default: "ubuntu"
60 DIST:
61 type: string
62 default: "{{dist}}"
63 ARCH:
64 type: string
65 default: "amd64"
66 PPA:
67 type: string
68 default: "mirantis-opencontrail/extra"
69 UPLOAD_PPA:
70 type: boolean
71 default: 'false'
72 UPLOAD_APTLY:
73 type: boolean
74 default: 'true'