Skip to content

Commit

Permalink
Exit with the same status as rake build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ram Kandasamy committed Jul 13, 2017
1 parent d0fc7ec commit 7d28a41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ dependencies:
- ? |
for i in 1 2; do
mispipe "timeout 13m bundle exec rake build" "ts '[%Y-%m-%d %H:%M:%S]'" && break;
echo "rake build failed on attempt $i with error code $?";
ERR=$?
echo "rake build failed on attempt $i with error code $ERR";
(exit $ERR)
done
:
timeout: 960
Expand Down

0 comments on commit 7d28a41

Please sign in to comment.