summaryrefslogtreecommitdiffstats
path: root/jjb/dcae/collectors-ves.yaml
blob: 3f09c48851449355504956ab01801fa3ace28a7d (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
---

- project:
    name: dcae-collectors-ves

    # job template iterators
    project-name: 'dcae-collectors-ves'
    stream:
      - 'master':
          branch: 'master'
      - 'release-1.0.0':
          branch: 'release-1.0.0'

    # apply to all jobs
    project: 'dcae/collectors/ves'
    mvn-settings: 'dcae-collectors-ves-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':
          # job specific
          mvn-goals-versioning:
            # yamllint disable rule:line-length
            'versions:set versions:update-child-modules versions:commit'
            # yamllint enable
          mvn-goals: 'clean deploy'
          maven-deploy-properties: |
              deployAtEnd=true
          script: |
            bash ./docker-build.sh release
      - '{project-name}-{stream}-merge-scm-mvn-script':
          # job specific
          mvn-goals: 'clean deploy'
          script: |
            bash ./docker-build.sh merge
      - '{project-name}-{stream}-verify-scm-mvn-script':
          # job specific
          mvn-goals: 'clean install'
          script: |
            bash ./docker-build.sh verify
      - '{project-name}-docker-image-blessing'