blob: 8baf4cfd659b92b0dee8a24afa3f1ceb80fb64ec [file] [log] [blame]
---
# verification jobs for 'voltha-onos' repo
- project:
name: voltha-onos
project: '{name}'
jobs:
- 'verify-voltha-onos-jobs':
branch-regexp: '{all-branches-regexp}'
- 'verify-voltha-onos-jobs-master':
branch-regexp: '^master$'
- 'verify-voltha-onos-jobs-voltha-2.12':
name-extension: '-voltha-2.12'
override-branch: 'voltha-2.12'
branch-regexp: '^voltha-2.12$'
- 'verify-voltha-onos-jobs-voltha-2.11':
name-extension: '-voltha-2.11'
override-branch: 'voltha-2.11'
branch-regexp: '^voltha-2.11$'
# - 'verify-voltha-onos-jobs-voltha-2.8':
# name-extension: '-voltha-2.8'
# override-branch: 'voltha-2.8'
# branch-regexp: '^voltha-2.8$'
- 'publish-voltha-onos-jobs':
branch-regexp: '{all-branches-regexp}'
- job-group:
name: 'verify-voltha-onos-jobs'
jobs:
- 'verify-licensed'
- 'tag-collision-reject':
dependency-jobs: 'verify_voltha-onos_licensed'
- job-group:
name: 'verify-voltha-onos-jobs-voltha-2.12'
jobs:
- 'voltha-patch-test':
pipeline-script: 'voltha/voltha-2.12/bbsim-tests.groovy'
pipeline-branch: 'voltha-2.12'
- job-group:
name: 'verify-voltha-onos-jobs-voltha-2.11'
jobs:
- 'voltha-patch-test':
pipeline-script: 'voltha/voltha-2.11/bbsim-tests.groovy'
pipeline-branch: 'voltha-2.11'
#- job-group:
# name: 'verify-voltha-onos-jobs-voltha-2.8'
# jobs:
# - 'voltha-patch-test':
# pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
- job-group:
name: 'verify-voltha-onos-jobs-master'
jobs:
- 'voltha-patch-test':
extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
# the unit test job will fail on all the branches that are not "master" as the "make test"
# target was not available
- 'make-unit-test':
unit-test-targets: 'test'
junit-allow-empty-results: true
- job-group:
name: 'publish-voltha-onos-jobs'
jobs:
- 'docker-publish':
docker-repo: 'voltha'
dependency-jobs: 'version-tag_wildcard'
# [EOF]