diff options
author | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-07-27 14:23:13 +0300 |
---|---|---|
committer | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-07-27 14:23:13 +0300 |
commit | 8b8790f8c7a91c799a17009803fdb5b68b906610 (patch) | |
tree | 80afb0f3f75b3d462e9604f1d79ab9c8f128ff84 /.travis | |
parent | 97ab70f31133e3e0429b6c082d664e746314d78d (diff) |
netdata/packaging: [ci skip] Make sure you notify us when nightlies changelog generation fails. It is a soft error, but we do want to know about it
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/nightlies.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis/nightlies.sh b/.travis/nightlies.sh index 188b37da02..002461041d 100755 --- a/.travis/nightlies.sh +++ b/.travis/nightlies.sh @@ -38,6 +38,12 @@ if [ ! "${TRAVIS_REPO_SLUG}" == "netdata/netdata" ]; then fi echo "--- Running Changelog generation ---" -.travis/generate_changelog_for_nightlies.sh "${LAST_TAG}" "${COMMITS_SINCE_RELEASE}" || echo "Changelog generation has failed, this is a soft error, process continues" +NIGHTLIES_CHANGELOG_FAILED=0 +.travis/generate_changelog_for_nightlies.sh "${LAST_TAG}" "${COMMITS_SINCE_RELEASE}" || NIGHTLIES_CHANGELOG_FAILED=1 + +if [ ${NIGHTLIES_CHANGELOG_FAILED} -eq 1 ]; then + echo "Changelog generation has failed, this is a soft error, process continues" + post_message "TRAVIS_MESSAGE" "Changelog generation job for nightlies failed, possibly due to github issues" "${NOTIF_CHANNEL}" +fi exit "${FAIL}" |