Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Update AR projects with all file types to log"
[releng/builder.git]
/
jjb
/
integration
/
integration-upload-distribution.sh
diff --git
a/jjb/integration/integration-upload-distribution.sh
b/jjb/integration/integration-upload-distribution.sh
index 7da49a3482b3f9cd6df882dca99a494d60f38e58..e9e2bdf828c28cf9075947fde2c66a9a83e2e17d 100644
(file)
--- a/
jjb/integration/integration-upload-distribution.sh
+++ b/
jjb/integration/integration-upload-distribution.sh
@@
-22,8
+22,10
@@
echo "Uploading distribution to Nexus..."
cat "${LOG_FILE}"
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
echo "Bundle uploaded to ${BUNDLE_URL}"
# Re-inject the new BUNDLE_URL for downstream jobs to pull from Nexus
-env | grep BUNDLE_ | sort | tee integration-upload-distribution.env
+cat > "${WORKSPACE}/integration-upload-distribution.env" <<EOF
+BUNDLE_URL=${BUNDLE_URL}
+EOF