- scm:
    name: project-scm
    scm:
      - hg:
         url: http://hg.example.org/project
         clean: true

- job-template:
    name: '{name}-unit-tests'
    project-type: pipeline
    pipeline-scm:
      scm:
        - project-scm
    sandbox: true
    description: 'maintainer: {maintainer}'

- job-template:
    name: '{name}-perf-tests'
    project-type: pipeline
    pipeline-scm:
      scm:
        - project-scm
    sandbox: false
    description: 'maintainer: {maintainer}'

- job-group:
    name: '{name}-tests'
    jobs:
      - '{name}-unit-tests':
          maintainer: dev@example.org
      - '{name}-perf-tests':
          maintainer: qa@example.org

- project:
    name: project-name
    jobs:
    - '{name}-tests'
