blob: 1892dbedb9cd088cba5975c9a9d0fb9a0fe8f9c7 [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 Khalasi4defdcc2018-07-11 13:10:02 -070031 name: branch
32 default: 'master'
33 description: 'Branch to pull'
34
35 - string:
Kailash Khalasid4825e52018-07-11 12:32:25 -070036 name: configRepoUrl
37 default: 'https://gerrit.opencord.org/pod-configs'
38 description: 'The URL of the POD configs repository'
39
40 - string:
41 name: configRepoBaseDir
42 default: 'pod-configs/'
43 description: 'The directory inside the POD configs repository'
44
45 - string:
46 name: configRepoFile
47 default: 'kubernetes-configs/flex-ocp-mcord.yml'
48 description: 'The deployment config file'
49
50 - string:
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070051 name: executorNode
Kailash Khalasi49eaa6f2018-07-18 15:13:52 -070052 default: 'qa-testvm-pod2'
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070053 description: 'Name of the Jenkins node to run the job on'
54
55 - string:
56 name: notificationEmail
57 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
58 description: 'List of email recipients'
59
60 project-type: pipeline
61 concurrent: false
62
Kailash Khalasid4825e52018-07-11 12:32:25 -070063 dsl: !include-raw-escape: ../pipeline/mcord-build-test.groovy
Kailash Khalasi52bd7fc2018-07-03 13:49:44 -070064
65 triggers:
Kailash Khalasid4825e52018-07-11 12:32:25 -070066 - timed: |
67 TZ=America/Los_Angeles
68 H 6 * * *