When a package can't be published, print which distribution the error is
authorWard Vandewege <ward@curii.com>
Thu, 25 Feb 2021 18:22:42 +0000 (13:22 -0500)
committerWard Vandewege <ward@curii.com>
Thu, 25 Feb 2021 18:22:42 +0000 (13:22 -0500)
with.

refs #17218

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

jenkins/testing_to_stable_publish_packages.sh

index 12ca8006c5ffd8c4212e4dd3ad5aa95ad799340d..dcc8f41c763dac4726d7ba0d372b2b5b9337183f 100755 (executable)
@@ -79,11 +79,13 @@ else
     for P in ${DEBIAN_PACKAGES}; do
       aptly repo search ${DISTNAME}-testing "${P}"
       if [ $? -ne 0 ]; then
-        FAILED_PACKAGES="${FAILED_PACKAGES} ${P}"
+        echo "ERROR: unable to find a match for '${P}' in ${DISTNAME}-testing"
+        FAILED_PACKAGES="${FAILED_PACKAGES} ${DISTNAME}-testing:${P}"
       else
         aptly repo copy ${DISTNAME}-testing ${DISTNAME} "${P}"
         if [ $? -ne 0 ]; then
-          FAILED_PACKAGES="${FAILED_PACKAGES} ${P}"
+          echo "ERROR: unable to copy '${P}' from ${DISTNAME}-testing to ${DISTNAME}"
+          FAILED_PACKAGES="${FAILED_PACKAGES} ${DISTNAME}-testing:${P}"
         fi
       fi
     done