summaryrefslogtreecommitdiffstats
path: root/jjb/dcae/apod-analytics.yaml
blob: 234bd2ddebeb2999c77b13ab10c695857fe2ede1 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---

- project:
    name: dcae-apod-anlytics

    # job template iterators
    project-name: 'dcae-apod-analytics'
    stream:
      - 'master':
          branch: 'master'
      - 'release-1.0.0':
          branch: 'release-1.0.0'

    # apply to all jobs
    project: 'dcae/apod/analytics'
    mvn-settings: 'dcae-apod-analytics-settings'
    files: '**'
    archive-artifacts: ''
    build-node: ubuntu1604-basebuild-4c-4g
    extra-project: 'dcae/apod/buildtools'
    extra-branch: '{branch}'
    extra-refspec: 'refs/heads/{branch}'
    checkout-dir: 'dcae-apod-buildtools'

    jobs:
      - '{project-name}-{stream}-daily-release-2scm-mvn-script':
          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
          script: |
            /bin/bash \
                './dcae-apod-buildtools/scripts/script-apod-analytics-daily-release.sh'
      - '{project-name}-{stream}-stage-site-java':
          site-pom: 'pom.xml'
          trigger-job: '{project-name}-{stream}-daily-release-2scm-mvn-script'
      - '{project-name}-{stream}-verify-2scm-mvn-script':
          mvn-goals: 'clean install'
          script: |
            /bin/bash \
                './dcae-apod-buildtools/scripts/script-apod-analytics-verify.sh'
      - '{project-name}-{stream}-merge-2scm-mvn-script':
          mvn-goals: 'clean deploy'
          script: |
            /bin/bash \
                './dcae-apod-buildtools/scripts/script-apod-analytics-merge.sh'