We are using RA along with TFS where in RA the rum command line action will be fetching changes set from TFS using tfs power tools.
We noticed that our deployment is getting successfully finished, but the changes set are not getting downloaded on agents.
Release : 6.x
Component : CA RELEASE AUTOMATION CORE
After troubleshooting the action execution information, the below cause is identified for problems being faced.
The cause of issue is because of the below error on agent
Show Execution Information
Run Command Line action has finished successfully.
Return value: 100
Std out: Getting the changes in changeset 33794...
Std err: TF30063: You are not authorized to access http://iltfs/tfs/ILProjectCollection05.
Command line executed: tfpt getcs -changeset:33794 /force /overwrite "/login:ex-domain\demouser,*****"
As mentioned there is bad configuration in your action, which is not expecting any return code and hence for non-successful execution also the action/process is not failing.
The reason of failure is the user used in fetching the change set from TFS is denied the access with "Unauthorized Access". Please validate below recommendations
We recommend to set and expect the correct Expected Return Value[Integer] in your action, so it can fail at right place and becomes easy to debug