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/hicn/hicn.yaml | 2 +- jjb/scripts/post_build_deploy_archives.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'jjb') diff --git a/jjb/hicn/hicn.yaml b/jjb/hicn/hicn.yaml index 9d1dabed1..000e9e57d 100644 --- a/jjb/hicn/hicn.yaml +++ b/jjb/hicn/hicn.yaml @@ -316,7 +316,7 @@ name: "hicn-verify-functest-{stream}-{os}-{executor-arch}" project-type: freestyle - node: "centos7-docker-4c-4g" + node: "ubuntu2004-docker-4c-4g" concurrent: true properties: 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