Skip to content

Commit

Permalink
Fixed container build artifact path
Browse files Browse the repository at this point in the history
  • Loading branch information
rexwhite committed Jul 24, 2024
1 parent 6e0e40d commit 856bd3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unit_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'

Expand Down

0 comments on commit 856bd3a

Please sign in to comment.