Batch file run: check exit code function issue

Hi,
It seems that the “Check Exit Code” option does not work in the “Run DOS Command / Batch File Action”.

I have defined a batch file action. I have checked the “Check Exit Code” option, and I set the exit code must be equal to 0.
In the log file I saw that the batch file exited with code -1, but the action status was “Success”.

[Continua CI Version: 1.0.0.3158]

Best regards:
Janos



Hi Janos,

Thanks for reporting this.

The issue was with the exit code -1 which we were incorrectly using to indicate when "wait for completion" was not set.

We have now fixed this issue and you can download an updated build using the following links:

Continua CI Server x64 v1.0.0.3161

Continua CI Agent x64 v1.0.0.3161

Hi Dave,

Thank you for your fast work!
I have tested it, and it works fine with this new version.

Best regards:
Janos