- job-template:
    name: 'openvswitch-check-{platform}'
    node: openhalon

    wrappers:
        - build-timeout:
            timeout: 120
        - timestamps
        - ansicolor

    builders:
        - revoke-sudo
        - module-build:
            module: 'openvswitch-halon'
            platform: '{platform}'

- job-template:
    name: 'openvswitch-gate-{platform}'
    node: openhalon

    wrappers:
        - build-timeout:
            timeout: 120
        - timestamps
        - ansicolor

    builders:
        - revoke-sudo
        - module-build:
            module: 'openvswitch-halon'
            platform: '{platform}'
        - build-openvswitch-docs:
            module: 'openvswitch-halon'

    publishers:
        - scp:
            site: static.openhalon.io
            files:
              - target: 'docs-openvswitch'
                source: 'src/openvswitch-halon/build/dist-docs/ovs-vswitchd.conf.db.5*'
                keep-hierarchy: false
                copy-after-failure: false

- job-group:
    name: 'openvswitch-jobs'
    jobs:
      - 'openvswitch-check-{platform}'
      - 'openvswitch-gate-{platform}'

- job-template:
    name: 'openvswitch-check-{platform}'
    node: openhalon

    wrappers:
        - build-timeout:
            timeout: 120
        - timestamps
        - ansicolor

    builders:
        - revoke-sudo
        - module-build:
            module: 'openvswitch-halon'
            platform: '{platform}'

- job-template:
    name: 'openvswitch-gate-{platform}'
    node: openhalon

    wrappers:
        - build-timeout:
            timeout: 120
        - timestamps
        - ansicolor

    builders:
        - revoke-sudo
        - module-build:
            module: 'openvswitch-halon'
            platform: '{platform}'
        - build-openvswitch-docs:
            module: 'openvswitch-halon'

    publishers:
        - scp:
            site: static.openhalon.io
            files:
              - target: 'docs/openswitch/schema'
                source: 'src/openvswitch-halon/build/dist-docs/ovs-vswitchd.conf.db.5*'
                keep-hierarchy: false
                copy-after-failure: false

- job-group:
    name: 'openvswitch-jobs'
    jobs:
      - 'openvswitch-check-{platform}'
      - 'openvswitch-gate-{platform}'

Fix path to deploy docs
Fix path to deploy docs

Change-Id: I7a3c91d1d38dcb3cc810036aa860b2ab3dbba44f
Signed-off-by: Diego Dompe <362eb8c2bff4070585be20c53c8ef543d5e46a6b@hp.com>
