---
- project:
    name: dcaegen2-collectors-snmptrap
    project-name: 'dcaegen2-collectors-snmptrap'
    jobs:
      - '{project-name}-{stream}-verify-java'
      - '{project-name}-{stream}-merge-java'
      - '{project-name}-{stream}-release-version-java-daily'
      - '{project-name}-gerrit-release-jobs':
          build-node: centos7-docker-8c-8g

    project: 'dcaegen2/collectors/snmptrap'
    stream:
      - 'master':
          branch: 'master'
    mvn-settings: 'dcaegen2-collectors-snmptrap-settings'
    # due to a strange macro / variable translation problem this needs
    # to be passed as a string block to properly get the properties
    # correctly defined in the job
    maven-deploy-properties: |
      deployAtEnd=true
    files: '**'
    archive-artifacts: ''
    build-node: 'ubuntu1804-docker-8c-8g'

- project:
    name: dcaegen2-collectors-snmptrap-sonar
    jobs:
      - gerrit-maven-sonar
    sonarcloud: true
    sonarcloud-project-organization: '{sonarcloud_project_organization}'
    sonarcloud-api-token: '{sonarcloud_api_token}'
    sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
    sonar-mvn-goal: '{sonar_mvn_goal}'
    cron: '@daily'
    build-node: ubuntu1804-builder-4c-4g
    project: 'dcaegen2/collectors/snmptrap'
    project-name: 'dcaegen2-collectors-snmptrap'
    branch: 'master'
    mvn-settings: 'dcaegen2-collectors-snmptrap-settings'
    mvn-goals: 'clean install'
    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'

- project:
    name: dcaegen2-collectors-snmptrap-clm
    jobs:
      - gerrit-maven-clm
    nexus-iq-namespace: 'onap-'
    project: dcaegen2/collectors/snmptrap
    build-node: ubuntu1804-docker-8c-8g
    project-name: 'dcaegen2-collectors-snmptrap'
    branch: 'master'
    mvn-settings: 'dcaegen2-collectors-snmptrap-settings'

- project:
    name: dcaegen2-collectors-snmptrap-info
    project-name: dcaegen2-collectors-snmptrap
    jobs:
      - gerrit-info-yaml-verify
    build-node: centos7-builder-2c-1g
    project: dcaegen2/collectors/snmptrap
    branch: master