blob: 5bf7e5d17ef843a244125e3147e1ef1ee69e3f22 [file] [log] [blame]
classes:
- system_extra.jenkins.client.job.common
parameters:
jenkins:
client:
job_template:
build-opencontrail:
name: build-opencontrail-{{buildname}}-{{os}}-{{dist}}
jobs:
- buildname: oc303
os: ubuntu
dist: trusty
branch: R3.0.3.x
ppa: mirantis/opencontrail-3.0.3
upload_source_package: false
- buildname: oc31
os: ubuntu
dist: trusty
branch: R3.1
ppa: mirantis/opencontrail-3.1
upload_source_package: true
- buildname: oc31
os: ubuntu
dist: xenial
branch: R3.1
ppa: mirantis/opencontrail-3.1
upload_source_package: true
- buildname: oc311
os: ubuntu
dist: trusty
branch: R3.1.1.x
ppa: irantis/mopencontrail-3.1.1
upload_source_package: true
- buildname: oc311
os: ubuntu
dist: xenial
branch: R3.1.1.x
ppa: mirantis/opencontrail-3.1.1
upload_source_package: true
- buildname: oc32
os: ubuntu
dist: trusty
branch: R3.2
ppa: mirantis/opencontrail-3.2
upload_source_package: true
- buildname: oc32
os: ubuntu
dist: xenial
branch: R3.2
ppa: mirantis/opencontrail-3.2
upload_source_package: true
template:
discard:
build:
keep_num: 5
artifact:
keep_num: 5
type: workflow-scm
concurrent: false
quiet_period: 120
scm:
type: git
url: "${_param:jenkins_contrail_pipeline}"
credentials: "gerrit"
github:
url: https://github.com/Mirantis/ccp-contrail-pipeline
trigger:
gerrit:
project:
contrail/contrail-pipeline:
branches:
- "{{branch}}"
contrail/contrail-build:
branches:
- "{{branch}}"
contrail/contrail-controller:
branches:
- "{{branch}}"
contrail/contrail-vrouter:
branches:
- "{{branch}}"
contrail/contrail-third-party:
branches:
- "{{branch}}"
contrail/contrail-generateDS:
branches:
- "{{branch}}"
contrail/contrail-sandesh:
branches:
- "{{branch}}"
contrail/contrail-packages:
branches:
- "{{branch}}"
contrail/contrail-nova-vif-driver:
branches:
- "{{branch}}"
contrail/contrail-neutron-plugin:
branches:
- "{{branch}}"
contrail/contrail-nova-extensions:
branches:
- "{{branch}}"
contrail/contrail-heat:
branches:
- "{{branch}}"
contrail/contrail-web-storage:
branches:
- "{{branch}}"
contrail/contrail-web-server-manager:
branches:
- "{{branch}}"
contrail/contrail-web-controller:
branches:
- "{{branch}}"
contrail/contrail-web-core:
branches:
- "{{branch}}"
contrail/contrail-webui-third-party:
branches:
- "{{branch}}"
message:
build_successful: "Build successful"
build_unstable: "Build unstable"
build_failure: "Build failed"
event:
ref:
- updated
param:
APTLY_URL:
type: string
default: "${_param:jenkins_aptly_api_url}"
APTLY_REPO:
type: string
default: "{{os}}-{{dist}}-{{buildname}}"
SOURCE_URL:
type: string
default: "${_param:jenkins_gerrit_url}/contrail"
SOURCE_BRANCH:
type: string
default: "{{branch}}"
SOURCE_CREDENTIALS:
type: string
default: "gerrit"
KEEP_REPOS:
type: boolean
default: 'false'
description: "Don't cleanup on failure"
OS:
type: string
default: "{{os}}"
DIST:
type: string
default: "{{dist}}"
ARCH:
type: string
default: "amd64"
PPA:
type: string
default: "{{ppa}}"
UPLOAD_SOURCE_PACKAGE:
type: boolean
default: '{{upload_source_package}}'