Skip to content

Commit

Permalink
fixup! Revert "fix(credentials): store JMX session credentials in Thr…
Browse files Browse the repository at this point in the history
…eadLocal (#1388)"
  • Loading branch information
andrewazores committed Apr 25, 2023
1 parent 123896d commit 6f92881
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions repeated-integration-tests.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi

getPomProperty() {
if command -v xpath > /dev/null 2>&1 ; then
xpath -q -e "project/properties/$1/text()" pom.xml
xpath -q -e "project/$1/text()" pom.xml
elif command -v mvnd > /dev/null 2>&1 ; then
mvnd help:evaluate -o -B -q -DforceStdout -Dexpression="$1"
else
Expand All @@ -26,15 +26,15 @@ getPomProperty() {
}

if [ -z "${POD_NAME}" ]; then
POD_NAME="$(getPomProperty cryostat.itest.podName)"
POD_NAME="$(getPomProperty properties/cryostat.itest.podName)"
fi

if [ -z "${CONTAINER_NAME}" ]; then
CONTAINER_NAME="$(getPomProperty cryostat.itest.containerName)"
CONTAINER_NAME="$(getPomProperty properties/cryostat.itest.containerName)"
fi

if [ -z "${ITEST_IMG_VERSION}" ]; then
ITEST_IMG_VERSION="$(getPomProperty project.version)"
ITEST_IMG_VERSION="$(getPomProperty version)"
ITEST_IMG_VERSION="${ITEST_IMG_VERSION,,}" # lowercase
fi

Expand Down

0 comments on commit 6f92881

Please sign in to comment.