This is an automated email from the ASF dual-hosted git repository.
pinal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 770a46081 ATLAS-5223: Add option in Pre-commit to add profile during
build (#542)
770a46081 is described below
commit 770a46081523121557d30c5207e5d47d19c8512a
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]>
---
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"