We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e3e3b3 commit efd76c7Copy full SHA for efd76c7
bin/build.sh
@@ -1,9 +1,8 @@
1
SEGMENT=$(python bin/xray_start.py)
2
-GRADLE_OUTPUT=$(gradle build); GRADLE_RETURN=$?
+gradle build --quiet --stacktrace &> /var/log/gradle.log; GRADLE_RETURN=$?
3
if (( GRADLE_RETURN != 0 )); then
4
- echo "Grade failed with exit status $GRADLE_RETURN" >&2
5
- echo "and output: $GRADLE_OUTPUT" >&2
6
- python bin/xray_error.py "$SEGMENT" "$GRADLE_OUTPUT"
+ echo "Grade failed with exit status $GRADLE_RETURN" >&2
+ python bin/xray_error.py "$SEGMENT" "$(cat /var/log/gradle.log)"
7
exit 1
8
fi
9
python bin/xray_success.py "$SEGMENT"
0 commit comments