summaryrefslogtreecommitdiffstats
path: root/jjb/dcae/apod-analytics.yaml
blob: ebfcf8eb466513995f0e7932bd1a3a3b6fb03f2e (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'
          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'