blob: e8ab1dac7e3ab2354885ade7a2e12231f7d4f282 [file] [log] [blame]
lj14120555df32017-02-20 03:25:58 +00001---
2
3- project:
4 name: dcae-collectors-ves
5
6 # job template iterators
7 project-name: 'dcae-collectors-ves'
8 stream:
9 - 'master':
10 branch: 'master'
Lusheng76094c12017-03-10 19:12:09 +000011 - 'release-1.0.0':
12 branch: 'release-1.0.0'
lj14120555df32017-02-20 03:25:58 +000013
14 # apply to all jobs
15 project: 'dcae/collectors/ves'
16 mvn-settings: 'dcae-collectors-ves-settings'
17 # default to no op
18 mvn-goals: '--version'
19 # default to no op
20 mvn-goals-versioning: '--version'
21 files: '**'
22 archive-artifacts: ''
23
24 jobs:
25 - '{project-name}-{stream}-daily-release-scm-mvn-script':
26 # job specific
27 mvn-goals-versioning:
Andrew Grimberg93274ad2017-02-24 13:50:16 -080028 # yamllint disable rule:line-length
Lushengef922d92017-03-09 04:47:52 +000029 'versions:set versions:update-child-modules versions:commit'
Andrew Grimberg93274ad2017-02-24 13:50:16 -080030 # yamllint enable
lj14120555df32017-02-20 03:25:58 +000031 mvn-goals: 'clean deploy'
32 maven-deploy-properties: |
33 deployAtEnd=true
Carsten Lundc2cc8f42017-02-21 20:45:40 +000034 script: |
35 bash ./docker-build.sh release
Lusheng9e17c172017-04-03 18:38:29 +000036 - '{project-name}-{stream}-stage-site-java':
37 site-pom: 'pom.xml'
38 trigger-job: '{project-name}-{stream}-daily-release-scm-mvn-script'
lj14120555df32017-02-20 03:25:58 +000039 - '{project-name}-{stream}-merge-scm-mvn-script':
40 # job specific
41 mvn-goals: 'clean deploy'
Carsten Lundc2cc8f42017-02-21 20:45:40 +000042 script: |
43 bash ./docker-build.sh merge
lj14120555df32017-02-20 03:25:58 +000044 - '{project-name}-{stream}-verify-scm-mvn-script':
45 # job specific
46 mvn-goals: 'clean install'
Carsten Lundc2cc8f42017-02-21 20:45:40 +000047 script: |
48 bash ./docker-build.sh verify
Lusheng Jibf0d8cc2017-03-30 21:09:27 -040049 - '{project-name}-docker-image-blessing'