blob: ebfcf8eb466513995f0e7932bd1a3a3b6fb03f2e [file] [log] [blame]
---
- project:
name: dcae-apod-anlytics
# job template iterators
project-name: 'dcae-apod-analytics'
stream:
- 'master':
branch: 'master'
- 'release-1.0.0':
branch: 'release-1.0.0'
# apply to all jobs
project: 'dcae/apod/analytics'
mvn-settings: 'dcae-apod-analytics-settings'
files: '**'
archive-artifacts: ''
build-node: ubuntu1604-basebuild-4c-4g
extra-project: 'dcae/apod/buildtools'
extra-branch: '{branch}'
extra-refspec: 'refs/heads/{branch}'
checkout-dir: 'dcae-apod-buildtools'
jobs:
- '{project-name}-{stream}-daily-release-2scm-mvn-script':
mvn-goals-versioning:
'versions:set versions:update-child-modules versions:commit'
mvn-goals: 'clean deploy'
maven-deploy-properties: |
deployAtEnd=true
script: |
/bin/bash \
'./dcae-apod-buildtools/scripts/script-apod-analytics-daily-release.sh'
- '{project-name}-{stream}-stage-site-java':
site-pom: 'pom.xml'
trigger-job: '{project-name}-{stream}-daily-release-2scm-mvn-script'
- '{project-name}-{stream}-verify-2scm-mvn-script':
mvn-goals: 'clean install'
script: |
/bin/bash \
'./dcae-apod-buildtools/scripts/script-apod-analytics-verify.sh'
- '{project-name}-{stream}-merge-2scm-mvn-script':
mvn-goals: 'clean deploy'
script: |
/bin/bash \
'./dcae-apod-buildtools/scripts/script-apod-analytics-merge.sh'