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

- 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}-release-version-java-daily'
      - '{project-name}-{stream}-stage-site-java':
          site-pom: 'pom.xml'
          trigger-job: '{project-name}-{stream}-daily-release-scm-mvn-script'
      - '{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'