summaryrefslogtreecommitdiffstats
path: root/jjb/dcaegen2/apod-analytics.yaml
blob: ee00ef6b1efbe8d14547791aab9816575de88dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
- project:
    name: dcaegen2-analytics-tca

    # job template iterators
    project-name: 'dcaegen2-analytics-tca'
    stream:
      - 'master':
          branch: 'master'
      - 'release-1.0.0':
          branch: 'release-1.0.0'

    # apply to all jobs
    project: 'dcaegen2/analytics/tca'
    mvn-settings: 'dcaegen2-analytics-tca-settings'
    files: '**'
    archive-artifacts: ''
    build-node: ubuntu1604-basebuild-4c-4g

    jobs:
      - '{project-name}-{stream}-release-java-daily':
          mvn-goals-versioning:
            'versions:set versions:update-child-modules versions:commit'
          mvn-goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}'
          maven-deploy-properties: |
              deployAtEnd=true
      - '{project-name}-{stream}-stage-site-java':
          site-pom: 'pom.xml'
          trigger-job: '{project-name}-{stream}-release-java-daily'
      - '{project-name}-{stream}-verify-java-skip-tests':
          mvn-goals: 'clean install'
      - '{project-name}-{stream}-merge-java':
          mvn-goals: 'clean deploy'