If we have powershell step with code
the artifact would not be collected.
We use OctopusDeploy to perform integration tests and we need to fail deploy if tests failed, but collect test results to analyze problem.
+1. We’re running acceptance tests as a step and want to capture the test results but fail the deployment when a test fails. Just noticed we don’t get any results when we fail the step.
Perhaps a flag on New-OctopusArtifact could preserve default behavior but let us force the artifact to be collected even on failure?
Hi Igor and Chris,
Thanks for the reports, this is a known bug: https://github.com/OctopusDeploy/Issues/issues/911
Feel free to track the issue, but Ill update this thread when we have a live fix.