blob: f82b78d25e180546c473f5f6b191eedaa9b6b884 [file] [log] [blame]
---
# 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:
- cord-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
artifact-num-to-keep: '{artifact-num-to-keep}'
- job-template:
name: 'build_{profile}_{pod}_{branch}'
id: build_pod_first
description: |
<!-- Managed by Jenkins Job Builder -->
Nightly Physical POD Builds at {pod} using {pod_config} <br /><br />
Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
Created by Kailash Khalasi - kailash@opennetworking.org <br />
Copyright (c) 2017 Open Networking Foundation (ONF)
<<: *test-pipe-job-boiler-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_config}'
description: 'The deployment config file'
- string:
name: branch
default: '{branch}'
- string:
name: notificationEmail
default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
description: ''
concurrent: true
pipeline-scm:
script-path: '{Jenkinsfile}'
scm:
- git:
url: '{gerrit-server-url}/cord'
branches:
- '{branch}'
triggers:
- timed: |
TZ=America/Los_Angeles
H {time} * * *
- job-template:
name: 'build_{profile}_{pod}_{branch}'
id: build_pod
description: |
<!-- Managed by Jenkins Job Builder -->
Nightly Physical POD Builds at {pod} using {pod_config} <br /><br />
Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
Created by Kailash Khalasi - kailash@opennetworking.org <br />
Copyright (c) 2017 Open Networking Foundation (ONF)
<<: *test-pipe-job-boiler-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_config}'
description: 'The deployment config file'
- string:
name: branch
default: '{branch}'
- string:
name: notificationEmail
default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
description: ''
concurrent: true
pipeline-scm:
script-path: '{Jenkinsfile}'
scm:
- git:
url: '{gerrit-server-url}/cord'
branches:
- '{branch}'
triggers:
- reverse:
jobs: 'build_{profile}_{pod}_{fromBranch}_test'
result: 'failure'
- job-template:
name: 'build_{profile}_{pod}_{branch}_test'
id: build_pod_test
description: |
<!-- Managed by Jenkins Job Builder -->
Post Tests on {pod} triggered by build_{pod}_{branch} <br /><br />
Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
Created by Kailash Khalasi - kailash@opennetworking.org <br />
Copyright (c) 2017 Open Networking Foundation (ONF)
branches: '{branch}'
<<: *test-pipe-job-boiler-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_config}'
description: 'The deployment config file'
- string:
name: branch
default: '{branch}'
- string:
name: notificationEmail
default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
description: ''
concurrent: true
pipeline-scm:
script-path: '{Jenkinsfile}'
scm:
- git:
url: '{gerrit-server-url}/cord-tester'
branches:
- '{branch}'
triggers:
- reverse:
jobs: 'build_{profile}_{pod}_{branch}'
result: 'failure'
- job-template:
name: 'build_{profile}_{pod}_manual_{branch}'
id: build_pod_manual
description: |
<!-- Managed by Jenkins Job Builder -->
Nightly Physical POD Builds at {pod} using {pod_config} <br /><br />
Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
Copyright (c) 2018 Open Networking Foundation (ONF)
<<: *test-pipe-job-boiler-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_config}'
description: 'The deployment config file'
- string:
name: branch
default: '{branch}'
- string:
name: notificationEmail
default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
description: ''
concurrent: true
pipeline-scm:
script-path: '{Jenkinsfile}'
scm:
- git:
url: '{gerrit-server-url}/cord'
branches:
- '{branch}'
- job-template:
name: 'build_{profile}_{pod}_{branch}_test'
id: build_pod_manual_test
description: |
<!-- Managed by Jenkins Job Builder -->
Post Tests on {pod} triggered by build_{pod}_{branch} <br /><br />
Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
Created by QA (Suchitra Vemuri - suchitra@opennetworking.org) <br />
Copyright (c) 2017 Open Networking Foundation (ONF)
branches: '{branch}'
<<: *test-pipe-job-boiler-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_config}'
description: 'The deployment config file'
- string:
name: branch
default: '{branch}'
- string:
name: notificationEmail
default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
description: ''
concurrent: true
pipeline-scm:
script-path: '{Jenkinsfile}'
scm:
- git:
url: '{gerrit-server-url}/cord-tester'
branches:
- '{branch}'
triggers:
- reverse:
jobs: 'build_{profile}_{pod}_manual_{branch}'
result: 'failure'