blob: 6df3afc8fe18ebcfbfa829bdd0fe01c591dd5a87 [file] [log] [blame]
Kailash Khalasic585d062018-04-06 16:22:40 -07001---
Kailash Khalasi3074e602018-04-12 12:09:20 -07002# POD Nightly Build Pipeline Jobs
Kailash Khalasic585d062018-04-06 16:22:40 -07003
4- test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate
5 name: test-pipe-job-boiler-plate
6
7 project-type: pipeline
8
9 sandbox: true
10
11 properties:
12
13 - build-discarder:
14 num-to-keep: 20
15 gitURL: https://gerrit.opencord.org/cord-tester
16
17- test-pipe-init-procedure-plate: &test-pipe-init-procedure-plate
18 name: test-pipe-init-procedure-plate
19 project: cord-tester
20 stream: 'master'
21 jenkins-path: 'Jenkinsfile'
22
Kailash Khalasi4e08a2e2018-04-13 08:42:36 -070023- job-pod-plate: &job-pod-plate
24 name: job-pod-plate
25 pod:
Kailash Khalasi7470c452018-04-13 10:36:49 -070026 - 'qct-pod1'
27 - 'qct-pod3'
Kailash Khalasic585d062018-04-06 16:22:40 -070028
29- job-version-plate: &job-version-plate
30 name: job-version-plate
31 version:
32 - 'master'
Kailash Khalasi4e08a2e2018-04-13 08:42:36 -070033 - 'cord-5.0'
34 - 'cord-4.1'
35 - 'cord-4.0'
Kailash Khalasic585d062018-04-06 16:22:40 -070036
Kailash Khalasic585d062018-04-06 16:22:40 -070037- job-template:
Kailash Khalasi4e08a2e2018-04-13 08:42:36 -070038 name: 'build-{pod}-{version}'
Kailash Khalasic585d062018-04-06 16:22:40 -070039 description: |
40 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi4e08a2e2018-04-13 08:42:36 -070041 It builds nighlty a full POD at {pod} <br /><br />
Kailash Khalasic585d062018-04-06 16:22:40 -070042 Created by Kailash Khalasi - kailash@opennetworking.org<br />
43 Copyright (c) 2017 Open Networking Foundation (ONF)
44
45 <<: *test-pipe-job-boiler-plate
46
Kailash Khalasi4e08a2e2018-04-13 08:42:36 -070047 <<: *job-pod-plate
48
Kailash Khalasic585d062018-04-06 16:22:40 -070049 parameters:
Kailash Khalasic585d062018-04-06 16:22:40 -070050 - string:
Kailash Khalasibb7ca642018-04-11 13:35:17 -070051 name: devNodeName
Kailash Khalasi4e08a2e2018-04-13 08:42:36 -070052 default: '{pod}'
Kailash Khalasibb7ca642018-04-11 13:35:17 -070053 description: 'Jenkins node name of Dev Node'
54
55 - string:
Kailash Khalasic585d062018-04-06 16:22:40 -070056 name: configRepoUrl
57 default: 'https://gerrit.opencord.org/pod-configs'
58 description: 'The URL of the POD configs repository'
59
60 - string:
61 name: configRepoBaseDir
62 default: 'pod-configs/'
63 description: 'The directory inside the POD configs repository'
64
65 - string:
66 name: configRepoFile
Kailash Khalasi7470c452018-04-13 10:36:49 -070067 default: 'deployment-configs/{pod}.yml'
Kailash Khalasic585d062018-04-06 16:22:40 -070068 description: 'The deployment config file'
69
70 - string:
71 name: RECEIPIENT
72 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
73 description: ''
74
Kailash Khalasic585d062018-04-06 16:22:40 -070075 concurrent: true
76
Kailash Khalasic585d062018-04-06 16:22:40 -070077
78 pipeline-scm:
Kailash Khalasi3074e602018-04-12 12:09:20 -070079 script-path: 'Jenkinsfile'
Kailash Khalasic585d062018-04-06 16:22:40 -070080 scm:
81 - git:
82 url: 'https://gerrit.opencord.org/cord'
83 branches:
84 - 'master'
85
Kailash Khalasic585d062018-04-06 16:22:40 -070086
87- project:
88 name: nightly-build-pipeline
89
Kailash Khalasi4e08a2e2018-04-13 08:42:36 -070090 <<: *job-pod-plate
91 <<: *job-version-plate
92
93 project-name: '{name}'
Kailash Khalasic585d062018-04-06 16:22:40 -070094
95 build-timeout: '300'
Kailash Khalasic585d062018-04-06 16:22:40 -070096
97 jobs:
Kailash Khalasi4e08a2e2018-04-13 08:42:36 -070098 - 'build-{pod}-{version}'