From 8947a6f9f6bb9ac7631ca039009607a91238c22b Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 1 Feb 2016 22:58:52 +0100 Subject: [PATCH] Set status --- docker/scripts/set-result-status.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/scripts/set-result-status.sh b/docker/scripts/set-result-status.sh index 1cfdae0286..7c685fa6a2 100755 --- a/docker/scripts/set-result-status.sh +++ b/docker/scripts/set-result-status.sh @@ -13,11 +13,11 @@ fi if [ $res -eq 0 ]; then echo Send success - $(pwd)/set-status.sh 'success' 'The Bamboo build is a success' ${step} + $(dirname "$0")/set-status.sh 'success' 'The Bamboo build is a success' ${step} elif [ $res -eq 1 ]; then echo Send Failure - $(pwd)/set-status.sh 'failure' 'The Bamboo build failed' ${step} + $(dirname "$0")/set-status.sh 'failure' 'The Bamboo build failed' ${step} else echo Send error - $(pwd)/set-status.sh 'error' 'The Bamboo build is in error' ${step} + $(dirname "$0")/set-status.sh 'error' 'The Bamboo build is in error' ${step} fi