Improve output when fpm call fails.
authorWard Vandewege <ward@curoverse.com>
Thu, 9 Oct 2014 14:12:39 +0000 (10:12 -0400)
committerWard Vandewege <ward@curoverse.com>
Thu, 9 Oct 2014 14:12:39 +0000 (10:12 -0400)
No issue #

jenkins/run-build-packages.sh

index bbd4a2a08ef9b76dc2ac374c6070d3bea9604d2c..878a9c2173915ce41ecf59e2cc3a0cd012f011ea 100755 (executable)
@@ -150,7 +150,10 @@ build_and_scp_deb () {
 
   if [[ "$FPM_PACKAGE_NAME" == "" ]]; then
     EXITCODE=1
-    echo "Error: Unable to figure out package name from fpm results:\n $FPM_RESULTS"
+    echo "Error: Unable to figure out package name from fpm results:"
+    echo
+    echo $FPM_RESULTS
+    echo
   else
     if [[ ! $FPM_RESULTS =~ "File already exists" ]]; then
       if [[ "$FPM_EXIT_CODE" != "0" ]]; then