netdata/packaging: [ci skip] make slack usage a soft error here (the library should be available though, so this is a workaround fix until i figure out the WOW)
Pavlos Emm. Katsoulakis committed
Aug 2, 2019 at 13:36 UTC
79e5fd09cc89257eecf98926151e492e95cba687
1 file changed
+3
-2
.travis/nightlies.sh
+3
-2
@@ -10,9 +10,10 @@
10
# Author : Pawel Krupa (paulfantom)
11
# Author : Pavlos Emm. Katsoulakis (paul@netdata.cloud)
12
set -e
13
-
13
FAIL=0
14
15
+source tests/installer/slack.sh || echo "Could not load slack library"
16
+
17
# If we are not in netdata git repo, at the top level directory, fail
18
TOP_LEVEL=$(basename "$(git rev-parse --show-toplevel)")
19
CWD=$(git rev-parse --show-cdup || echo "")
@@ -43,7 +44,7 @@ NIGHTLIES_CHANGELOG_FAILED=0
44
45
if [ ${NIGHTLIES_CHANGELOG_FAILED} -eq 1 ]; then
46
echo "Changelog generation has failed, this is a soft error, process continues"
46
- post_message "TRAVIS_MESSAGE" "Changelog generation job for nightlies failed, possibly due to github issues" "${NOTIF_CHANNEL}"
47
+ post_message "TRAVIS_MESSAGE" "Changelog generation job for nightlies failed, possibly due to github issues" "${NOTIF_CHANNEL}" || echo "Slack notification failed"
48
fi
49
50
exit "${FAIL}"