From 7d9c0de9c63cb9483b80f5deedb7920cffbedcb6 Mon Sep 17 00:00:00 2001 From: Eric Ball Date: Thu, 13 Oct 2022 14:35:41 -0700 Subject: Fix: Robot Framework logging The builder should be ubuntu, and the logging script has been modified to include robot logs if found. Change-Id: I4fedf0b8b36dfb56cc43546ab3d1f4fc7c63562c Signed-off-by: Eric Ball --- jjb/scripts/post_build_deploy_archives.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'jjb/scripts/post_build_deploy_archives.sh') diff --git a/jjb/scripts/post_build_deploy_archives.sh b/jjb/scripts/post_build_deploy_archives.sh index 02a56f130..a332f21e5 100755 --- a/jjb/scripts/post_build_deploy_archives.sh +++ b/jjb/scripts/post_build_deploy_archives.sh @@ -19,6 +19,10 @@ set +e # Do not affect the build result if some part of archiving fails. WS_ARCHIVES_DIR="$WORKSPACE/archives" BUILD_ENV_LOG="$WS_ARCHIVES_DIR/_build-enviroment-variables.log" +if curl --output robot-plugin.zip "$BUILD_URL/robot/report/*zip*/robot-plugin.zip"; then + unzip -d ./archives robot-plugin.zip +fi + # Generate gdb-command script to output vpp stack traceback from core files. gdb_cmdfile="/tmp/gdb-commands" cat >$gdb_cmdfile <<'__END__' -- cgit 1.2.3-korg