summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgitlab-ci/failaction.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/gitlab-ci/failaction.sh b/gitlab-ci/failaction.sh
index fb167c5..4b99b06 100755
--- a/gitlab-ci/failaction.sh
+++ b/gitlab-ci/failaction.sh
@@ -12,7 +12,7 @@ export R="\x0f"
cd clientdata
export ghead=$(git log --pretty=oneline -n 1 | awk '{print $1}')
export gitcommit=$(echo ${ghead} | cut -c 1-7)
-export msg="Build failed: ${C}03${gitcommit}${R}. See https://gitlab.com/evol/clientdata/builds/${buildid}"
+export msg="Build failed: ${C}03${gitcommit}${R}. See https://gitlab.com/evol/clientdata/builds"
echo "${msg}"
@@ -25,14 +25,14 @@ echo "/j ${channel}" > "${path}/${server}/in"
sleep 10s
echo -e ${msg} >${path}/${server}/${channel}/in
-if [[ -n "${error}" ]]; then
- sleep 2s
- export LINK=$(pastebinit -b http://paste.ubuntu.com/ shared/error.log)
- echo "Error log: ${LINK}" >${path}/${server}/${channel}/in
-fi
-sleep 3s
-
-rm -rf shared/buildid.log
-rm -rf shared/error.log
+#if [[ -n "${error}" ]]; then
+# sleep 2s
+# export LINK=$(pastebinit -b http://paste.ubuntu.com/ shared/error.log)
+# echo "Error log: ${LINK}" >${path}/${server}/${channel}/in
+#fi
+sleep 5s
+
+#rm -rf shared/buildid.log
+#rm -rf shared/error.log
killall ii