---
# verification jobs for 'voltha-onos' repo

- project:
    name: voltha-onos
    project: '{name}'

    jobs:
      - 'verify-voltha-onos-jobs':
          branch-regexp: '{all-branches-regexp}'
      - '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'
      # No need to build the container as part of the unit-tests as it's
      # built in 'voltha-patch-test'
      # - 'make-unit-test':
      #     unit-test-targets: 'build'
      #     junit-allow-empty-results: true
      - 'voltha-patch-test':
          pipeline-script: 'voltha-bbsim-tests.groovy'

- job-group:
    name: 'publish-voltha-onos-jobs'
    jobs:
      - 'docker-publish':
          docker-repo: 'voltha'
          dependency-jobs: 'version-tag'
