blob: 655b9f858b4f42cc7a488ad7aa72cd867cac864d [file] [log] [blame]
parameters:
jenkins:
client:
job_template:
test-opencontrail:
name: test-opencontrail-{{buildname}}-{{os}}-{{dist}}
jobs:
- buildname: oc31
os: ubuntu
dist: trusty
branch: R3.1
- buildname: oc311
os: ubuntu
dist: trusty
branch: R3.1.1.x
- buildname: oc32
os: ubuntu
dist: trusty
branch: R3.2
template:
discard:
build:
keep_num: 5
artifact:
keep_num: 5
type: workflow-scm
concurrent: true
quiet_period: 120
scm:
type: git
url: "https://github.com/chnyda/contrail-unittest"
param:
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"
trigger:
gerrit:
project:
contrail/contrail-controller:
branches:
- "{{branch}}"
contrail/contrail-vrouter:
branches:
- "{{branch}}"
event:
comment:
- addedContains:
commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$'
param:
TEST_MODELS:
type: string
default: "{{clusters}}"