Skip to content

Commit 79d0480

Browse files
markpollackchedim
authored andcommitted
add progress indicators for build phases
Add informational messages between build phases to show progress since -q flag suppresses all Maven output, making it appear hung. Users now see: - Phase 1: Building dependencies - Phase 2: Running tests - Testing complete Signed-off-by: Mark Pollack <mark.pollack@broadcom.com>
1 parent 0fc4091 commit 79d0480

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main-push-fast.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,11 @@ jobs:
139139
else
140140
echo "INFO: Running tests for affected modules: $MODS"
141141
# Build dependencies without tests, then test only the affected modules
142+
echo "INFO: Phase 1 - Building dependencies (this may take a few minutes)..."
142143
./mvnw -B -q -T 1C -DskipTests -pl "$MODS" -am install
144+
echo "INFO: Phase 2 - Running tests for affected modules..."
143145
./mvnw -B -q -T 1C -Pci-fast-integration-tests -DfailIfNoTests=false -pl "$MODS" -amd verify
146+
echo "INFO: Testing complete"
144147
fi
145148
146149
- name: Deploy to Artifactory (affected modules only)

0 commit comments

Comments
 (0)