Fix typo in the distro upload script
[releng/builder.git] / jjb / integration / integration-upload-distribution.sh
index 7da49a3482b3f9cd6df882dca99a494d60f38e58..9289c55687dbe4e92413b9f7a1744f358fc8e4dd 100644 (file)
@@ -22,7 +22,7 @@ echo "Uploading distribution to Nexus..."
 
 cat "${LOG_FILE}"
 
-BUNDLE_URL=$(grep "Uploaded.*${KARAF_ARTIFACT}/${BUNDLE_VERSION}.*.zip" ${LOG_FILE} || true | awk '{print $3}')
+BUNDLE_URL=$(grep "Uploaded.*${KARAF_ARTIFACT}/${BUNDLE_VERSION}.*.zip" ${LOG_FILE} | awk '{print $3}') || true
 echo "Bundle uploaded to ${BUNDLE_URL}"
 
 # Re-inject the new BUNDLE_URL for downstream jobs to pull from Nexus