aws-toolkit-azure-devops
aws-toolkit-azure-devops copied to clipboard
ADO AWS Shell script task falsely fails due to STDERR stream
Azure Devops AWS script is falsely causing script to fail with error:
##[error]Error: The process ‘/bin/bash’ failed because one or more lines were written to the STDERR stream
this is happening even though the script does not have any failures.
issue can be reproduced with different agent version.
attached sample log shows how task script has no failures but the task somehow detects and error and causes step to faile
Are you running a Windows-based agent? If so, this is probably a Toolkit bug. I can see the problematic code but it's only applicable for Windows.