summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2015-11-16 20:49:34 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-16 20:49:34 +0000
commit56add2db32bf2060f50709d4168510e489e39b33 (patch)
treec32c89c2f536f570852e4e05ce4ce773cec41d97
parent3fd75d2d98efe8c3a38f50559fcf36f686e11584 (diff)
parentb85743805f82af8376c98568af5a83dfd37f2185 (diff)
Merge "changing copying to linking to save time and space on the build"
-rwxr-xr-xci/build.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/ci/build.sh b/ci/build.sh
index c052ab0..82d5b63 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -386,14 +386,14 @@ if [ $rc -gt 0 ]; then
rc=100
exit $rc
fi
-echo "Copying built OPNFV .iso file to target directory ${BUILD_DIR} ..."
+echo "Linking built OPNFV .iso file to target directory ${BUILD_DIR} ..."
rm -rf ${BUILD_DIR}
mkdir -p ${BUILD_DIR}
-cp ${BUILD_BASE}/.versions ${BUILD_DIR}
-cp ${RESULT_DIR}/*.iso* ${BUILD_DIR}
-echo "Copying built OPNFV .rpm files to target directory ${BUILD_DIR} ..."
-cp ${BUILD_BASE}/*.rpm ${BUILD_DIR}
-cp ${BUILD_BASE}/noarch/*.rpm ${BUILD_DIR}
+ln -s ${BUILD_BASE}/.versions ${BUILD_DIR}
+ln -s ${RESULT_DIR}/*.iso* ${BUILD_DIR}
+echo "Linking built OPNFV .rpm files to target directory ${BUILD_DIR} ..."
+ln -s ${BUILD_BASE}/*.rpm ${BUILD_DIR}
+ln -s ${BUILD_BASE}/noarch/*.rpm ${BUILD_DIR}
if [ $POPULATE_CACHE -eq 1 ]; then
if [ ! -z ${BUILD_CACHE_URI} ]; then