This is an automated email from the ASF dual-hosted git repository. radhikakundam pushed a commit to branch atlas-2.5 in repository https://gitbox.apache.org/repos/asf/atlas.git
commit 299a4883008048566f4a8f98ccf8e8da50052267 Author: Pinal Shah <[email protected]> AuthorDate: Tue Feb 24 21:42:25 2026 +0530 ATLAS-5223: Add option in Pre-commit to add profile during build (#542) Co-authored-by: Pinal Shah <[email protected]> (cherry picked from commit 770a46081523121557d30c5207e5d47d19c8512a) --- dev-support/test-patch.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 9b10af453..e07a017df 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -135,6 +135,9 @@ parseArgs() { --branch=*) BRANCH=${i#*=} ;; + --profile=*) + PROFILE=${i#*=} + ;; --skip-ut=*) SKIP_UT=${i#*=} ;; @@ -593,6 +596,11 @@ buildAndInstall () { MVN_GOALS="clean install -DskipCheck" + if [[ $PROFILE != "" ]]; then + echo "Profile $PROFILE is being used." + MVN_GOALS+=" -P$PROFILE" + fi + if [[ $SKIP_UT == "true" ]]; then echo "Unit Tests flag set to true." MVN_GOALS+=" -DskipUTs"
