From 1cf1ab953155b9f0abac9607e3608f736f55120f Mon Sep 17 00:00:00 2001 From: Luis Gomez Date: Fri, 20 Apr 2018 12:15:01 -0700 Subject: [PATCH] Fix BUNDLE_URL extraction in distribution-check After maven upgrade we see different upload message in log so script has to be adjusted. Change-Id: I0b8f19cf684bcaf2e93c50b41d5b021c274e31a8 Signed-off-by: Luis Gomez --- jjb/integration/integration-upload-distribution.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/integration/integration-upload-distribution.sh b/jjb/integration/integration-upload-distribution.sh index e9e2bdf82..39cdbeca5 100644 --- a/jjb/integration/integration-upload-distribution.sh +++ b/jjb/integration/integration-upload-distribution.sh @@ -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 -- 2.36.6