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

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

    jobs:
      - 'verify-voltha-docs-jobs':
          branch-regexp: '{supported-branches-regexp}'
      - 'post-submit-voltha-docs-jobs':
          branch-regexp: '{supported-branches-regexp}'

- job-group:
    name: 'verify-voltha-docs-jobs'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject'
      - 'make-unit-test':
          unit-test-targets: 'test'
          junit-allow-empty-results: true

- job-group:
    name: 'post-submit-voltha-docs-jobs'
    jobs:
      - 'sync-dir':
          build-command: 'make multiversion'
          build-output-path: '_build/multiversion/'
          sync-target-server: 'guide.opencord.org'
          sync-target-path: '/var/www/voltha-docs/'
