- job:
    name: jjb-tox-linters
    parent: tox
    vars:
      tox_envlist: linters

- job:
    name: jjb-tox-cross-python-jenkins
    description: Tests compatibility with master branch of python-jenkins
    parent: tox-py38
    required-projects:
      - jjb/python-jenkins
      - jjb/jenkins-job-builder
    nodeset: ubuntu-focal
    voting: true

- job:
    name: jjb-tox-docs-linkcheck
    parent: tox
    vars:
      tox_envlist: docs-linkcheck

- project:
    templates:
      - docs-on-readthedocs
    vars:
      rtd_webhook_id: '47271'
    check:
      jobs:
        - tox-py38:
            nodeset: ubuntu-focal
        - tox-py39:
            nodeset: ubuntu-focal
        - tox-py310:
            nodeset: ubuntu-jammy
        - tox-py311:
            nodeset: ubuntu-jammy
        - tox-py312
        - jjb-tox-linters
        - jjb-tox-cross-python-jenkins
        - jjb-tox-docs-linkcheck
        - tox-cover
    gate:
      jobs:
        - tox-py38:
            nodeset: ubuntu-focal
        - tox-py39:
            nodeset: ubuntu-focal
        - tox-py310:
            nodeset: ubuntu-jammy
        - tox-py311:
            nodeset: ubuntu-jammy
        - tox-py312
