From bcac2f49c4c92afb8ccb5e7214bb923d3fc69d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbyn=C4=9Bk=20Dr=C3=A1pela?= Date: Thu, 16 Jan 2025 10:53:05 +0100 Subject: [PATCH] Use project dir --- .ibm/pipelines/utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ibm/pipelines/utils.sh b/.ibm/pipelines/utils.sh index 5da982f1d2..7f61159135 100755 --- a/.ibm/pipelines/utils.sh +++ b/.ibm/pipelines/utils.sh @@ -106,7 +106,7 @@ droute_send() { # Initialize Data Router logging ARTIFACT_DIR=${ARTIFACT_DIR:-/tmp/artifacts} echo "ARTIFACT_DIR = ${ARTIFACT_DIR}" - mkdir -p "${ARTIFACT_DIR}/datarouter-errors" + mkdir -p "${ARTIFACT_DIR}/${project}/datarouter-errors" # Send test results through DataRouter and save the request ID. local max_attempts=5 for ((i = 1; i <= max_attempts; i++)); do @@ -119,7 +119,7 @@ droute_send() { --results '${temp_droute}/${JUNIT_RESULTS}' \ --verbose" 2>&1) # Log output to artifact directory - log_file="${ARTIFACT_DIR}/datarouter-errors/attempt_${i}.log" + log_file="${ARTIFACT_DIR}/${project}/datarouter-errors/attempt_${i}.log" echo "${output}" > "${log_file}" echo "droute send logs written to ${log_file}"