diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-08 23:16:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-08 23:16:09 +0300 |
commit | 5d8e1a54f175d519be170ce7485f24bc04a13ec6 (patch) | |
tree | 593cda4321b2f38f168f257f8871e42fa7ca5f35 /gitlab-ci/susseccaction.sh | |
parent | daa76b7be74cfcf902c83d144b552696cc9b6a6b (diff) | |
download | tools-5d8e1a54f175d519be170ce7485f24bc04a13ec6.tar.gz tools-5d8e1a54f175d519be170ce7485f24bc04a13ec6.tar.bz2 tools-5d8e1a54f175d519be170ce7485f24bc04a13ec6.tar.xz tools-5d8e1a54f175d519be170ce7485f24bc04a13ec6.zip |
gitlab-ci: replace path .shared into shared.
Diffstat (limited to 'gitlab-ci/susseccaction.sh')
-rwxr-xr-x | gitlab-ci/susseccaction.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gitlab-ci/susseccaction.sh b/gitlab-ci/susseccaction.sh index 957f65e..4af7f6d 100755 --- a/gitlab-ci/susseccaction.sh +++ b/gitlab-ci/susseccaction.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 msg1="Build success. See https://gitlab.com/evol/clientdata/builds/${buildid}" export msg2="Build failed. See https://gitlab.com/evol/clientdata/builds/${buildid}" @@ -23,7 +23,7 @@ sleep 10s if [[ -n "${error}" ]]; then echo ${msg2} >${path}/${server}/${channel}/in 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 else echo ${msg1} >${path}/${server}/${channel}/in @@ -31,7 +31,7 @@ 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 |