summaryrefslogtreecommitdiffstats
path: root/jjb/dcae/dmaapbc.yaml
blob: 8d75fbd19ddb27c57c5cd3b6a1827421c54f9853 (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
---

- project:
    name: dcae-dmaapbc
    # job template iterators
    project-name: 'dcae-dmaapbc'
    stream:
      - 'master':
          branch: 'master'
      - 'release-1.0.0':
          branch: 'release-1.0.0'
    # apply to all jobs
    project: 'dcae/dmaapbc'
    mvn-settings: 'dcae-dmaapbc-settings'
    # default to no op
    mvn-goals: '--version'
    # default to no op
    mvn-goals-versioning: '--version'
    files: '**'
    archive-artifacts: ''

    jobs:
      - '{project-name}-{stream}-daily-release-scm-mvn-script':
          mvn-goals-versioning:
            'versions:set versions:update-child-modules versions:commit'
          mvn-goals: 'clean deploy'
          maven-deploy-properties: |
              deployAtEnd=true
          script: |
            bash ./script-dmaapbc-docker-build.sh release
      - '{project-name}-{stream}-merge-scm-mvn-script':
          mvn-goals: 'clean deploy'
          script: |
            bash ./script-dmaapbc-docker-build.sh merge
      - '{project-name}-{stream}-verify-scm-mvn-script':
          mvn-goals: 'clean install'
          script:
            bash ./script-dmaapbc-docker-build.sh verify
      - '{project-name}-docker-image-blessing'