]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
sbuild-post-build-get-reports: Log workspace directory.
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Thu, 14 Aug 2014 08:37:27 +0000 (10:37 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Thu, 14 Aug 2014 08:37:27 +0000 (10:37 +0200)
sbuild-post-build-get-reports

index 541081d5dee47110a2e24cb7ba97efc66a169476..92575522bc4ed5d469ec3587b7576f7af56d69e6 100755 (executable)
@@ -9,7 +9,8 @@ fi
 
 # Determine git checkout directory (which is stored in the workspace)
 # Note: Assume that $OLDPWD points to <Jenkins job dir>/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."