From: Benjamin Drung Date: Thu, 14 Aug 2014 08:37:27 +0000 (+0200) Subject: sbuild-post-build-get-reports: Log workspace directory. X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=18e3cae4b69a05b4a17006e28d9ddb3d3c9bacc9;p=profitbricks%2Fjenkins-build-scripts.git sbuild-post-build-get-reports: Log workspace directory. --- diff --git a/sbuild-post-build-get-reports b/sbuild-post-build-get-reports index 541081d..9257552 100755 --- a/sbuild-post-build-get-reports +++ b/sbuild-post-build-get-reports @@ -9,7 +9,8 @@ fi # Determine git checkout directory (which is stored in the workspace) # Note: Assume that $OLDPWD points to /deb-packages/$source -workspace=${OLDPWD}/../../workspace +workspace=$(readlink -f ${OLDPWD}/../../workspace) +echo "I: workspace is assumed to be in $workspace" if echo "${BUILD_TRIGGERS}" | grep -q 'no-test'; then echo "Found build trigger 'no-test' so no reports.tgz will be created."