microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.42k stars 2.59k forks source link

BatchScript "Fail on standard error" not working #10407

Closed nk111 closed 4 years ago

nk111 commented 5 years ago

Note

Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo

For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

If you have an issue or request for the Azure Pipelines service, use developer community instead:

https://developercommunity.visualstudio.com/spaces/21/index.html )

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: BatchScript

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

Issue Description

The batch script task always succeeds even when errors are logged during execution such as copy commands not finding source files. The argument "Fail on standard error" doesn't seem to make any difference. From what i can see in the task's json it's not even used for the execution?

damccorm commented 4 years ago

Hey @nk111 - I wasn't able to get a repro - are you still experiencing this? Any chance you could share a repro?

stephenmichaelf commented 4 years ago

I am closing this due to inactivity. Please reopen if it's still an issue.