Recently I had several build jobs failing with log statement:
All files are up to date.
And this happens for each and every build. Other symptoms are:
- Source code files absent on build agent;
- Clean setting enabled in build definition for sources;
- Agent service restart/rebuild doesn’t help.
I checked all access rights to agents folder and checked that agent has enough access rights to get sources. Everything was fine.
After some time searching in the web I found a blog post where author faced the problem with TFS 2015 build agent.
And I had the same issue on TFS 2017 agent. So basically “inheritance” option was disabled on the folder and on the branches as well. By enabling this option back to “on” state the build agent has authenticated again and builds started to work as expected.