Skip to content

Commit

Permalink
Add intructions for debugging (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken authored Sep 27, 2020
1 parent 22bc9a9 commit f42f792
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions action/entrypoint.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@ source /steps/activate.sh
source /steps/build.sh
source /steps/return_license.sh

#
# Instructions for debugging
#

if [[ $BUILD_EXIT_CODE -gt 0 ]]; then
echo ""
echo "###########################"
echo "# Failure #"
echo "###########################"
echo ""
echo "Please note that the exit code is not very descriptive."
echo "Most likely it will not help you solve the issue."
echo ""
echo "To find the reason for failure: please search for errors in the log above."
echo ""
fi;

#
# Exit with code from the build step.
#
Expand Down

0 comments on commit f42f792

Please sign in to comment.