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
In the build-ci.yaml file the script block has set -e which causes the step to fail when the first non-zero exit code is returned from a command.
This means the following line will correctly cause the build to fail if any unit tests fail:
docker run --name ${test_container_name} atlas-cli-test:0.1.$(Build.BuildId)
Unfortunately the following line must be run in order for the PublishTestResults task to be able to publish the trx files, which lets the build summary show test result details.
In the
build-ci.yaml
file the script block hasset -e
which causes the step to fail when the first non-zero exit code is returned from a command.This means the following line will correctly cause the build to fail if any unit tests fail:
Unfortunately the following line must be run in order for the PublishTestResults task to be able to publish the trx files, which lets the build summary show test result details.
It would be nice if the script run
docker cp
anddocker rm
commands even if thedocker run
failed dur to unit testsThe text was updated successfully, but these errors were encountered: