summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislaw Kardach <stanislaw.kardach@caviumnetworks.com>2016-04-29 18:25:35 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-04-29 18:25:36 +0000
commit82b3b366f2c677ea0ad58555d630f4c4091f82a3 (patch)
tree2062e3fccedf0cd94eb1f2684f000d4342314a9a
parent523f0f6e0522e41815d8b77a00799a17fde3d72b (diff)
parent3b174977cbb4bf7a3a734912748204ca923bcc19 (diff)
Merge "build.sh: move files instead of copying them."
-rwxr-xr-xci/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/build.sh b/ci/build.sh
index 38be2547..fbaa7261 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -37,10 +37,10 @@ make REVSTATE="${OPNFV_ARTIFACT_VERSION}" release ||
write_gitinfo >> ${BUILD_BASE}/gitinfo_armband.txt
-echo "Copying results to $OUTPUT_DIR"
+echo "Moving results to $OUTPUT_DIR"
sort ${BUILD_BASE}/gitinfo*.txt > ${OUTPUT_DIR}/gitinfo.txt
-cp ${RESULT_DIR}/*.iso ${OUTPUT_DIR}/
-cp ${RESULT_DIR}/*.iso.txt ${OUTPUT_DIR}/
+mv ${RESULT_DIR}/*.iso ${OUTPUT_DIR}/
+mv ${RESULT_DIR}/*.iso.txt ${OUTPUT_DIR}/
# We need to build our own ODL plugin, and when this happens, fuel
# renames the iso to unofficial-opnfv-${REVSTATE}.iso, so here we remove