CI Artifacts: Archive Build Artifacts in Original Path
TF-M has transferred to new build system.
Build artifacts paths are also different from the old one.
To keep the same URL to build artifacts,
which is needed by LAVA server,
artifact paths need to be same to the old one.
So build artifacts should be archived in original path.
Change-Id: I6729370bf1b5f2160a8dd41934f55ca4970ae7c3
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
diff --git a/run-build.sh b/run-build.sh
index 2dc4e6c..45c54db 100755
--- a/run-build.sh
+++ b/run-build.sh
@@ -55,11 +55,20 @@
eval "set -ex ; $build_commands"
+set +e
+
mkdir install/outputs/fvp
-cp bin/* install/outputs/fvp/
-cd install/outputs/fvp
-for file in `ls | grep bl2`
+mv bin/* install/outputs/fvp/
+
+cd install/outputs
+mv CYPRESS/* .
+mv MPS2/* .
+mv MPS3/* .
+
+for file in `find | grep bl2`
do
newfile=`echo $file | sed "s/bl2/mcuboot/g"`
mv $file $newfile
done
+
+set -e