---
- project:
    name: ccsdk-dashboard
    project-name: 'ccsdk-dashboard'
    jobs:
      - '{project-name}-{stream}-verify-java'
      - '{project-name}-{stream}-merge-java'
      - '{project-name}-{stream}-release-version-java-daily'

    project: 'ccsdk/dashboard'
    stream:
      - 'master':
          branch: 'master'
    mvn-settings: 'ccsdk-dashboard-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: ubuntu1604-docker-8c-8g

- project:
    name: ccsdk-dashboard-sonar
    jobs:
      - gerrit-maven-sonar
    cron: '@daily'
    build-node: centos7-redis-4c-4g
    project: 'ccsdk/dashboard'
    project-name: 'ccsdk-dashboard'
    branch: 'master'
    mvn-settings: 'ccsdk-dashboard-settings'
    mvn-goals: 'clean install'
    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'

- project:
    name: ccsdk-dashboard-clm
    jobs:
      - gerrit-maven-clm
    nexus-iq-namespace: 'onap-'
    project: 'ccsdk/dashboard'
    project-name: 'ccsdk-dashboard'
    stream:
      - 'master':
          branch: 'master'
    mvn-settings: 'ccsdk-dashboard-settings'
    build-node: centos7-redis-4c-4g

- project:
    name: ccsdk-dashboard-docker
    project-name: 'ccsdk-dashboard'
    jobs:
      - 'docker-version-java-daily':
          mvn-params: '-Dmaven.test.skip=true'
    project: 'ccsdk/dashboard'
    stream:
      - 'master':
          branch: 'master'
    mvn-settings: 'ccsdk-dashboard-settings'
    files: '**'
    archive-artifacts: ''
    docker-pom: 'pom.xml'
    mvn-profile: docker
    build-node: queue-docker-4c-4g