aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@enea.com>2016-04-27 17:41:05 +0200
committerJosep Puigdemont <josep.puigdemont@enea.com>2016-04-27 17:42:27 +0200
commit3b174977cbb4bf7a3a734912748204ca923bcc19 (patch)
tree856f85ac117e55e453a51e24f2dcf92baa2ff391
parente96eb8a9d8a0ed76908418190ea02013a4564268 (diff)
build.sh: move files instead of copying them.
Change-Id: Ib59d82067d028a2c946a87747a6975749c85133b Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
-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