Fix BUNDLE_URL extraction in distribution-check
[releng/builder.git] / jjb / integration / integration-upload-distribution.sh
index e9e2bdf828c28cf9075947fde2c66a9a83e2e17d..39cdbeca55cd1f1a9bf5ebf0810f3086a42cf8ca 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} | awk '{print $3}') || true
+BUNDLE_URL=$(grep "Uploaded.*${KARAF_ARTIFACT}/${BUNDLE_VERSION}.*.zip" ${LOG_FILE} | awk '{print $5}') || true
 echo "Bundle uploaded to ${BUNDLE_URL}"
 
 # Re-inject the new BUNDLE_URL for downstream jobs to pull from Nexus