blob: 234bd2ddebeb2999c77b13ab10c695857fe2ede1 [file] [log] [blame]
Lisa Revelcaf95792017-02-18 20:48:00 +00001---
2
3- project:
4 name: dcae-apod-anlytics
5
6 # job template iterators
7 project-name: 'dcae-apod-analytics'
8 stream:
9 - 'master':
10 branch: 'master'
Lusheng76094c12017-03-10 19:12:09 +000011 - 'release-1.0.0':
12 branch: 'release-1.0.0'
Lisa Revelcaf95792017-02-18 20:48:00 +000013
14 # apply to all jobs
15 project: 'dcae/apod/analytics'
16 mvn-settings: 'dcae-apod-analytics-settings'
Lisa Revelcaf95792017-02-18 20:48:00 +000017 files: '**'
18 archive-artifacts: ''
19 build-node: ubuntu1604-basebuild-4c-4g
Lisa Revelbaad9a92017-02-18 22:09:26 +000020 extra-project: 'dcae/apod/buildtools'
Lisa Revel5dc72282017-03-16 15:35:09 +000021 extra-branch: '{branch}'
Lisa Revelbaad9a92017-02-18 22:09:26 +000022 extra-refspec: 'refs/heads/{branch}'
23 checkout-dir: 'dcae-apod-buildtools'
Lisa Revelcaf95792017-02-18 20:48:00 +000024
25 jobs:
Lisa Revelf284f542017-02-19 23:19:06 +000026 - '{project-name}-{stream}-daily-release-2scm-mvn-script':
Lisa Revelcaf95792017-02-18 20:48:00 +000027 mvn-goals-versioning:
28 'versions:set versions:update-child-modules versions:commit'
Lushengba975ef2017-05-10 02:53:36 +000029 mvn-goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}'
Lisa Revelcaf95792017-02-18 20:48:00 +000030 maven-deploy-properties: |
31 deployAtEnd=true
Lisa Revel8a60a632017-02-28 22:07:34 +000032 script: |
Lusheng76094c12017-03-10 19:12:09 +000033 /bin/bash \
34 './dcae-apod-buildtools/scripts/script-apod-analytics-daily-release.sh'
Lusheng9e17c172017-04-03 18:38:29 +000035 - '{project-name}-{stream}-stage-site-java':
36 site-pom: 'pom.xml'
37 trigger-job: '{project-name}-{stream}-daily-release-2scm-mvn-script'
Lisa Revelf284f542017-02-19 23:19:06 +000038 - '{project-name}-{stream}-verify-2scm-mvn-script':
Lisa Revelee1d8ac2017-02-19 23:43:52 +000039 mvn-goals: 'clean install'
Lisa Revel8a60a632017-02-28 22:07:34 +000040 script: |
Lusheng76094c12017-03-10 19:12:09 +000041 /bin/bash \
42 './dcae-apod-buildtools/scripts/script-apod-analytics-verify.sh'
Lisa Revelf284f542017-02-19 23:19:06 +000043 - '{project-name}-{stream}-merge-2scm-mvn-script':
Lisa Revel3ab40a82017-02-21 22:13:56 +000044 mvn-goals: 'clean deploy'
Lisa Revel5dc72282017-03-16 15:35:09 +000045 script: |
Lusheng76094c12017-03-10 19:12:09 +000046 /bin/bash \
47 './dcae-apod-buildtools/scripts/script-apod-analytics-merge.sh'