haskell-mafia / boris

This was the moment that Mark totally lost his shit and started rewritting jenkins in shell and ended up with a haskell build bot.
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

Catch EPERM and friends when running commands #141

Open olorin opened 7 years ago

olorin commented 7 years ago
Mar 24 07:07:35 baked boris-service: The supervised thread listener unexpectedly exploded: ./bin/ci.doc.branches: streamingProcess: runInteractiveProcess: exec
: permission denied (Permission denied)

The above was triggered by this build after I chmod -xed one of the build scripts; as the build thread dies with an exception the build status remains "pending" until it times out. We should catch this, fail the build and print an informative error message.

(/cc @NaevaTheCat, this is what happened to your support build)