Bug 526505 - [COMPONENTS] add meta to the script

Change-Id: I2f2ccff3df7df17124551a89a8aac82b0e9f1253
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=519871
Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
diff --git a/components/org.eclipse.papyrus.components.parent/src/main/script/publish.sh b/components/org.eclipse.papyrus.components.parent/src/main/script/publish.sh
index 02b981a..831997c 100755
--- a/components/org.eclipse.papyrus.components.parent/src/main/script/publish.sh
+++ b/components/org.eclipse.papyrus.components.parent/src/main/script/publish.sh
@@ -114,10 +114,10 @@
 jobDir=$(readlink -f ~/.hudson/jobs/${jobName}/builds/${buildId})
 if [ ! -d $jobDir ];
 then
-	echo "The specified buildId does not refer to an existing build: $buildId"
+	echo "The specified buildId does not refer to an existing build: $buildId , see ${jobName} at ~/.hudson/jobs/${jobName}/builds/${buildId}"
 	exit 1
 fi
-
+echo "jobName=${jobName} buildId=${buildId} jobDir=${jobDir}"
 
 localUpdateSite=${jobDir}/${targetUpdateSite}
 echo "jobDir=${jobDir}"