diff options
Diffstat (limited to 'gitlab-ci/failaction.sh')
-rwxr-xr-x | gitlab-ci/failaction.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gitlab-ci/failaction.sh b/gitlab-ci/failaction.sh index 5ee4335..0d68247 100755 --- a/gitlab-ci/failaction.sh +++ b/gitlab-ci/failaction.sh @@ -4,8 +4,8 @@ export path="bot" export server="irc.freenode.net" export channel="#evol-dev" export nick="evolbuildbot" -export buildid="$(cat clientdata/.shared/buildid.log)" -export error="$(cat clientdata/.shared/error.log)" +export buildid="$(cat clientdata/shared/buildid.log)" +export error="$(cat clientdata/shared/error.log)" export msg="Build failed. See https://gitlab.com/evol/clientdata/builds/${buildid}" @@ -22,12 +22,12 @@ sleep 10s echo ${msg} >${path}/${server}/${channel}/in if [[ -n "${error}" ]]; then sleep 2s - export LINK=$(pastebinit -b http://paste.ubuntu.com/ clientdata/.shared/error.log) + export LINK=$(pastebinit -b http://paste.ubuntu.com/ clientdata/shared/error.log) echo "Error log: ${LINK}" >${path}/${server}/${channel}/in fi sleep 3s -rm -rf clientdata/.shared/buildid.log -rm -rf clientdata/.shared/error.log +rm -rf clientdata/shared/buildid.log +rm -rf clientdata/shared/error.log killall ii |