Enhance CI pipeline

- Support for Pull Requests
- Display build status on commit
- Notify build results on slack
- Support for releasing to artifactory

Closes gh-771
This commit is contained in:
Madhura Bhave
2018-11-19 15:13:07 -08:00
parent 22b4c9537c
commit 79623260f9
8 changed files with 277 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
source $(dirname $0)/common.sh
version=$( cat version/version )
milestone=${version%.RELEASE}
java -jar /github-release-notes-generator.jar \
--releasenotes.github.username=${GITHUB_USERNAME} \
--releasenotes.github.password=${GITHUB_TOKEN} \
--releasenotes.github.organization=${GITHUB_ORGANIZATION} \
--releasenotes.github.repository=${GITHUB_REPO} \
${milestone} generated-release-notes/release-notes.md
echo ${version} > generated-release-notes/version
echo v${version} > generated-release-notes/tag