Adding logic to grab standard output and standard error from pipeline script execution.
The changes to the agent script should cover redirecting std error to std output to ensure the correct order of the messages. The std error is still being grabbed in case some redirecting was missed.
The previous version was also not checking for the script exit code and it's now fixed.
Adding logic to grab standard output and standard error from pipeline script execution. The changes to the agent script should cover redirecting std error to std output to ensure the correct order of the messages. The std error is still being grabbed in case some redirecting was missed.
The previous version was also not checking for the script exit code and it's now fixed.
PR with changes to script for logging: https://dev.azure.com/mseng/AzureDevOps/_git/CIPlat.Externals/pullrequest/620960