blob: d448364bb7d60cd23a41358d677289c4b37011cb [file] [log] [blame]
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -07001---
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -07002# MCORD 6.0 Build+Test job on Single-Node
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -07003
4- project:
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -07005 name: mcord-build
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -07006
7 project-name: '{name}'
8
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -07009 jobs:
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070010 - 'mcord_build_test'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070011
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070012- job-template:
13 id: mcord_build_test
14 name: 'mcord_build_test'
15 description: |
16 Created by {id} job-template from ci-management/jjb/mcord-build.yaml
Suchitra Vemuria74d2632018-05-11 16:12:32 -070017
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070018 properties:
19 - cord-infra-properties:
20 build-days-to-keep: '{build-days-to-keep}'
21 artifact-num-to-keep: '{artifact-num-to-keep}'
22
23 wrappers:
24 - lf-infra-wrappers:
25 build-timeout: '{build-timeout}'
26 jenkins-ssh-credential: '{jenkins-ssh-credential}'
27
Kailash Khalasid4825e52018-07-11 12:32:25 -070028
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070029 parameters:
30 - string:
Kailash Khalasid4825e52018-07-11 12:32:25 -070031 name: configRepoUrl
32 default: 'https://gerrit.opencord.org/pod-configs'
33 description: 'The URL of the POD configs repository'
34
35 - string:
36 name: configRepoBaseDir
37 default: 'pod-configs/'
38 description: 'The directory inside the POD configs repository'
39
40 - string:
41 name: configRepoFile
42 default: 'kubernetes-configs/flex-ocp-mcord.yml'
43 description: 'The deployment config file'
44
45 - string:
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070046 name: executorNode
Kailash Khalasid4825e52018-07-11 12:32:25 -070047 default: 'qa-testvm-pod'
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070048 description: 'Name of the Jenkins node to run the job on'
49
50 - string:
51 name: notificationEmail
52 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
53 description: 'List of email recipients'
54
55 project-type: pipeline
56 concurrent: false
57
Kailash Khalasid4825e52018-07-11 12:32:25 -070058 dsl: !include-raw-escape: ../pipeline/mcord-build-test.groovy
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070059
60 triggers:
Kailash Khalasid4825e52018-07-11 12:32:25 -070061 - timed: |
62 TZ=America/Los_Angeles
63 H 6 * * *