Fail Continua CI build

154 Views Asked by At

I have reviewed all the Continua CI staging actions, but can't find any to force build process to fail. "Stop" build action is just executed with "Success" state. Have I missed something?

Update Continua CI server version is 1.5.0.338. This solution is not applicable http://wiki.finalbuilder.com/display/continua/Stop+Action

2

There are 2 best solutions below

0
On BEST ANSWER

Found workaround using "Run DOS Command / Batch File" with command set to:

EXIT /B 1
4
On

You can use the Stop Action to fail a build, just uncheck the "As Success" option.