Brandon
Brandon

Reputation: 10953

Hudson - Run console app and fail build if exit code is anything other than 0

I want to run a console app utility as a Windows Batch Command step in my Hudson build. If the console application returns anything other than an exit code of 0, I want to fail my Hudson build. Is this possible?

Upvotes: 1

Views: 529

Answers (1)

Christopher Orr
Christopher Orr

Reputation: 111575

That's the default behaviour, so it should work.

Upvotes: 1

Related Questions