Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 1 | --- |
Kailash Khalasi | 52bd7fc | 2018-07-03 13:49:44 -0700 | [diff] [blame] | 2 | # MCORD 6.0 Build+Test job on Single-Node |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 3 | |
| 4 | - project: |
Kailash Khalasi | 52bd7fc | 2018-07-03 13:49:44 -0700 | [diff] [blame] | 5 | name: mcord-build |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 6 | |
| 7 | project-name: '{name}' |
| 8 | |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 9 | jobs: |
Kailash Khalasi | 52bd7fc | 2018-07-03 13:49:44 -0700 | [diff] [blame] | 10 | - 'mcord_build_test' |
Suchitra Vemuri | 2c8ec0b | 2018-05-07 13:35:54 -0700 | [diff] [blame] | 11 | |
Kailash Khalasi | 52bd7fc | 2018-07-03 13:49:44 -0700 | [diff] [blame] | 12 | - 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 Vemuri | a74d263 | 2018-05-11 16:12:32 -0700 | [diff] [blame] | 17 | |
Kailash Khalasi | 52bd7fc | 2018-07-03 13:49:44 -0700 | [diff] [blame] | 18 | 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 Khalasi | d4825e5 | 2018-07-11 12:32:25 -0700 | [diff] [blame] | 28 | |
Kailash Khalasi | 52bd7fc | 2018-07-03 13:49:44 -0700 | [diff] [blame] | 29 | parameters: |
| 30 | - string: |
Kailash Khalasi | 4defdcc | 2018-07-11 13:10:02 -0700 | [diff] [blame] | 31 | name: branch |
| 32 | default: 'master' |
| 33 | description: 'Branch to pull' |
| 34 | |
| 35 | - string: |
Kailash Khalasi | d4825e5 | 2018-07-11 12:32:25 -0700 | [diff] [blame] | 36 | 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 Khalasi | 52bd7fc | 2018-07-03 13:49:44 -0700 | [diff] [blame] | 51 | name: executorNode |
Kailash Khalasi | d4825e5 | 2018-07-11 12:32:25 -0700 | [diff] [blame] | 52 | default: 'qa-testvm-pod' |
Kailash Khalasi | 52bd7fc | 2018-07-03 13:49:44 -0700 | [diff] [blame] | 53 | 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 Khalasi | d4825e5 | 2018-07-11 12:32:25 -0700 | [diff] [blame] | 63 | dsl: !include-raw-escape: ../pipeline/mcord-build-test.groovy |
Kailash Khalasi | 52bd7fc | 2018-07-03 13:49:44 -0700 | [diff] [blame] | 64 | |
| 65 | triggers: |
Kailash Khalasi | d4825e5 | 2018-07-11 12:32:25 -0700 | [diff] [blame] | 66 | - timed: | |
| 67 | TZ=America/Los_Angeles |
| 68 | H 6 * * * |