You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current default behaviour in Tool.ProcessExitCode() is to throw an exception if the exit code is non-zero.
There may be occasions where ignoring the exit code is preferred as additional processing is needed before the underlying error is handled.
For example, when running unit tests with dotnet test (via DotNetCoreTest) in a CI pipeline, rather than failing immediately upon test failure, it might be that uploading the test results would be the way the pipeline recognises the failing tests and then fails the build.
As such, I think it would be useful to have a property in Settings that can be set to enable ignoring exit codes
The text was updated successfully, but these errors were encountered:
The current default behaviour in
Tool.ProcessExitCode()
is to throw an exception if the exit code is non-zero.There may be occasions where ignoring the exit code is preferred as additional processing is needed before the underlying error is handled.
For example, when running unit tests with
dotnet test
(viaDotNetCoreTest
) in a CI pipeline, rather than failing immediately upon test failure, it might be that uploading the test results would be the way the pipeline recognises the failing tests and then fails the build.As such, I think it would be useful to have a property in
Settings
that can be set to enable ignoring exit codesThe text was updated successfully, but these errors were encountered: