From 5d87649cb8848fa8d1d24e08125f13d34406e59e Mon Sep 17 00:00:00 2001 From: Andrew Newton Date: Wed, 20 Nov 2024 10:56:34 +0000 Subject: [PATCH] chore: map "int" to "qa" before nonprod environments are renamed as planned --- run.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run.sh b/run.sh index 5161f577b..ee283850d 100644 --- a/run.sh +++ b/run.sh @@ -53,6 +53,11 @@ check_environment_variables() { check_environment_variables || exit 1 +# Check if platformEnv is "int" and replace with "qa" +if [ "${platformEnv}" = "int" ]; then + echo "Replacing platformEnv 'int' with 'qa'" + platformEnv="qa" +fi # Echo the command to be captured in logs echo "Now running [ mvn --batch-mode clean verify $mavenOptions -U -Dwdm.proxy=${proxyHost}:${proxyPort} -Dhttps.proxyHost=${proxyHost} -Dhttps.proxyPort=${proxyPort} -Dhttp.proxyHost=${proxyHost} -Dhttp.proxyPort=${proxyPort} -Dhttp.nonProxyHosts=${noProxyJava} -Denv=${platformEnv} -Dbrowser=${browserName} -DbrowserVersion=${browserVersion} -Dplatform=${platform} -DgridURL=_hidden_ -Dtag.name=\"(not ${exclude_tags})\" -Dcucumber.filter.tags=${cucumberTags} ] .."