Skip to content

Commit f42f792

Browse files
authored
Add intructions for debugging (#154)
1 parent 22bc9a9 commit f42f792

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

action/entrypoint.sh

100644100755
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,23 @@ source /steps/activate.sh
88
source /steps/build.sh
99
source /steps/return_license.sh
1010

11+
#
12+
# Instructions for debugging
13+
#
14+
15+
if [[ $BUILD_EXIT_CODE -gt 0 ]]; then
16+
echo ""
17+
echo "###########################"
18+
echo "# Failure #"
19+
echo "###########################"
20+
echo ""
21+
echo "Please note that the exit code is not very descriptive."
22+
echo "Most likely it will not help you solve the issue."
23+
echo ""
24+
echo "To find the reason for failure: please search for errors in the log above."
25+
echo ""
26+
fi;
27+
1128
#
1229
# Exit with code from the build step.
1330
#

0 commit comments

Comments
 (0)