| --- |
| # POD Nightly Build Pipeline Jobs |
| |
| - test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate |
| name: test-pipe-job-boiler-plate |
| |
| project-type: pipeline |
| |
| sandbox: true |
| |
| properties: |
| |
| - build-discarder: |
| num-to-keep: 20 |
| gitURL: https://gerrit.opencord.org/cord-tester |
| |
| - test-pipe-init-procedure-plate: &test-pipe-init-procedure-plate |
| name: test-pipe-init-procedure-plate |
| project: cord-tester |
| stream: 'master' |
| jenkins-path: 'Jenkinsfile' |
| |
| - job-pod-plate: &job-pod-plate |
| name: job-pod-plate |
| pod: |
| - 'qct-pod1' |
| - 'qct-pod3' |
| |
| - job-version-plate: &job-version-plate |
| name: job-version-plate |
| version: |
| - 'master' |
| - 'cord-5.0' |
| - 'cord-4.1' |
| - 'cord-4.0' |
| |
| - job-template: |
| name: 'build-{pod}-{version}' |
| description: | |
| <!-- Managed by Jenkins Job Builder --> |
| It builds nighlty a full POD at {pod} <br /><br /> |
| Created by Kailash Khalasi - kailash@opennetworking.org<br /> |
| Copyright (c) 2017 Open Networking Foundation (ONF) |
| |
| <<: *test-pipe-job-boiler-plate |
| |
| <<: *job-pod-plate |
| |
| parameters: |
| - string: |
| name: devNodeName |
| default: '{pod}' |
| description: 'Jenkins node name of Dev Node' |
| |
| - string: |
| name: configRepoUrl |
| default: 'https://gerrit.opencord.org/pod-configs' |
| description: 'The URL of the POD configs repository' |
| |
| - string: |
| name: configRepoBaseDir |
| default: 'pod-configs/' |
| description: 'The directory inside the POD configs repository' |
| |
| - string: |
| name: configRepoFile |
| default: 'deployment-configs/{pod}.yml' |
| description: 'The deployment config file' |
| |
| - string: |
| name: GERRIT_BRANCH |
| default: '{version}' |
| |
| - string: |
| name: RECEIPIENT |
| default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| description: '' |
| |
| concurrent: true |
| |
| |
| pipeline-scm: |
| script-path: 'Jenkinsfile' |
| scm: |
| - git: |
| url: 'https://gerrit.opencord.org/cord' |
| branches: |
| - 'master' |
| |
| |
| - project: |
| name: nightly-build-pipeline |
| |
| <<: *job-pod-plate |
| <<: *job-version-plate |
| |
| project-name: '{name}' |
| |
| build-timeout: '300' |
| |
| jobs: |
| - 'build-{pod}-{version}' |