Skip to content

Commit 12bfaa6

Browse files
Refactor SanityReport class: move to test directory and update report sending command in send-report.sh
1 parent 240c71f commit 12bfaa6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

send-report.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ echo "📄 Generating Surefire HTML report..."
4242
mvn surefire-report:report-only
4343

4444
echo "📤 Sending test report to Slack..."
45-
mvn compile exec:java -Dexec.mainClass="com.contentstack.sdk.SanityReport"
45+
mvn test-compile exec:java -Dexec.mainClass="com.contentstack.sdk.SanityReport" -Dexec.classpathScope=test
4646

4747
# Restore pom.xml and clean up
4848
restore_pom
File renamed without changes.

0 commit comments

Comments
 (0)