---
# verification jobs for 'voltha-openonu-adapter' repo

- project:
    name: voltha-openonu-adapter
    project: '{name}'

    jobs:
      - 'verify-voltha-openonu-adapter-jobs':
          branch-regexp: '{all-branches-regexp}'
      - 'publish-voltha-openonu-adapter-jobs':
          branch-regexp: '{all-branches-regexp}'

- job-group:
    name: 'verify-voltha-openonu-adapter-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject':
          dependency-jobs: 'verify_voltha-openonu-adapter_licensed'
      - 'make-unit-test':
          unit-test-targets: 'test'
          unit-test-keep-going: 'true'
          junit-allow-empty-results: true
          build-timeout: 15
      - 'make-sca':
          unit-test-targets: 'sca'
          unit-test-keep-going: 'true'
          junit-allow-empty-results: true
          build-timeout: 15
      - 'voltha-patch-test':
          pipeline-script: 'voltha-bbsim-tests.groovy'

- job-group:
    name: 'publish-voltha-openonu-adapter-jobs'
    jobs:
      - 'docker-publish':
          build-timeout: 30
          docker-repo: 'voltha'
          dependency-jobs: 'version-tag'
