microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.7k stars 855 forks source link

[BUG]: Agent version 3.238.0 can't support TFVC Build pipelines #4842

Open alben-zhu opened 2 weeks ago

alben-zhu commented 2 weeks ago

What happened?

I have a pipeline about TFVC,but via version 3.238.0, it failed. via version 2.153.1 it success. Because 3.238.0 can't deal with " Local path under $(build.sourcesDirectory)" 6.txt 11

Versions

Agent version 3.238.0/winserver 2019

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

Azure DevOps Server (Please specify exact version in the textbox below)

Azure DevOps Server Version (if applicable)

Azure DevOps Server 2019.1

Operation system

windows server 2019

Version controll system

No response

Relevant log output

No response

max-zaytsev commented 1 week ago

Because 3.238.0 can't deal with "Local path under $(build.sourcesDirectory)"

@alben-zhu can you clarify, please. What is the expected behavior? What did you get on the 2.153.1 version and what do you see on the 3.238.0

Can you please share checkout step logs for both successful and unsuccessful runs?

alben-zhu commented 1 week ago

Because 3.238.0 can't deal with "Local path under $(build.sourcesDirectory)"

@alben-zhu can you clarify, please. What is the expected behavior? What did you get on the 2.153.1 version and what do you see on the 3.238.0

Can you please share checkout step logs for both successful and unsuccessful runs? successful.zip unsuccessful.zip @max-zaytsev TFVC build pipeline will set a local path of the agent machine. 2.153.1 can recognize the local path,but 3.238 can't. please check the logs about the two files.

max-zaytsev commented 3 days ago

@alben-zhu I couldn't reproduce it. Could you please enable the debug mode and send again the logs for successful and not successful runs (including checkout step)

https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs?view=azure-devops&tabs=windows-agent#configure-verbose-logs