---
# jobs for 'kafka-onos' repo

- project:
    name: kafka-onos
    project: '{name}'

    jobs:
      - 'kafka-onos-jobs-common':
          branch-regexp: '^(.*)$'

      - 'kafka-onos-jobs':
          branch-regexp: '^((?!kafka-onos-1\..).*)$'
          junit-allow-empty-results: true

      - 'kafka-onos-jobs-legacy':
          branch-regexp: '^(kafka-onos-1.1|kafka-onos-1.2)$'
          jdk-distribution: 'java-1.8.0-amazon-corretto'
          name-extension: '-jdk8'
          junit-allow-empty-results: true

- job-group:
    name: 'kafka-onos-jobs-common'
    jobs:
      - 'verify-licensed'
      - 'tag-collision-reject'

- job-group:
    name: 'kafka-onos-jobs'
    jobs:
      - 'maven-test'
      - 'maven-publish'

- job-group:
    name: 'kafka-onos-jobs-legacy'
    jobs:
      - 'maven-test'
      - 'maven-publish'
