From 856bd3a03f74da875a778a49b5505a8e0ec7527b Mon Sep 17 00:00:00 2001 From: Rex White Date: Tue, 23 Jul 2024 19:23:19 -0400 Subject: [PATCH] Fixed container build artifact path --- unit_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit_test.sh b/unit_test.sh index 2b60e13..9d31bb1 100755 --- a/unit_test.sh +++ b/unit_test.sh @@ -55,7 +55,7 @@ DB_CONTAINER_ID=$(podman run -d \ --network "${NETWORK}" \ -e POSTGRESQL_USER="postgres_user" \ -e POSTGRESQL_PASSWORD="remediations" \ - -e POSTGRESQL_DATABASE="remediations" \ + -e POSTGRESQL_DATABASE="postgres" \ ${DB_IMAGE} || echo "0") if [[ "$DB_CONTAINER_ID" == "0" ]]; then @@ -100,7 +100,7 @@ fi #---------------- echo '----> record results...' mkdir -p $WORKSPACE/artifacts -podman cp $API_CONTAINER_ID:/opt/app-root/artifacts/. $WORKSPACE/artifacts +podman cp $API_CONTAINER_ID:/opt/app-root/src/artifacts/. $WORKSPACE/artifacts echo '====> unit tests PASSED'