Skip to content

Commit fe5dda8

Browse files
committed
exit on error
1 parent 44f119b commit fe5dda8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

shade-test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Create the package. Skip tests since this is just for testing the contents of the jar. We've already run the tests in another step.
22
mvn package -DskipTests -Dmaven.javadoc.skip=true
3+
if [ $? -ne 0 ]; then
4+
exit 1
5+
fi
36
# List everything in the shaded jar. Anything in com/datadog is good since that's either shaded or our own code.
47
# We intentionally avoid shading anything in META-INF in the pom.xml.
58
# And there are some native libraries in other directories that we don't shade so we only want to check for .class files.

0 commit comments

Comments
 (0)