X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frelease-job.sh;h=55276887922ea2b15a4ec6c303c472dbca2522ad;hb=8671c2eeb23b351fec65068e07ea8dcd982ff45c;hp=220f016c0e5a8cc9d72d388d845d651ad04718df;hpb=be791d789e3e0049575d5e6b4ad1e414b825e1e6;p=releng%2Fglobal-jjb.git diff --git a/shell/release-job.sh b/shell/release-job.sh index 220f016c..55276887 100644 --- a/shell/release-job.sh +++ b/shell/release-job.sh @@ -240,7 +240,7 @@ verify_packagecloud_match_release(){ echo "INFO: Fetching console log from $logs_url" wget -q -P /tmp "${logs_url}/"console.log.gz echo "INFO: Searching for uploaded step, package name $PACKAGE_NAME and version $VERSION in job log" - if zgrep "Successfully uploaded" /tmp/console.log.gz | grep "$PACKAGE_NAME" | grep "$VERSION"; then + if zgrep -E "Pushing.*$PACKAGE_NAME.*$VERSION.*success\!" /tmp/console.log.gz; then echo "INFO: found expected strings in job log" else echo "ERROR: failed to find expected strings in job log"