I noticed something odd with our build after I moved a project with git mv. It appears the file that I moved from is still present in the build agents repository. So my file structure looks something like this:
Before git mv:
-Folder1 |-Project1.dpr -Folder2 |-Project2.dpr
After git mv: -Folder1 -Folder2 |-Project1.dpr |-Project2.dpr
But the agent has the following file structure: -Folder1 |-Project1.dpr -Folder2 |-Project1.dpr |-Project2.dpr
This is especially annoying because the old project is still being built and causes confusing compile errors. Resetting the repository in Continua seems to help but is not an ideal solution either. I have also observed the same behaviour when deleting files from our repository.
We have not been able to reproduce this in our tests. Can you run “git version” in a command line on the server and agent, and let us know which version of Git is installed? The latest maintained build for Windows is version 1.9.5. Please install this if you have an older version and let us know whether this fixes the issue.
If not, please can you enable debug logging on the server and agent and restart the server before committing a new “git mv” command on your repository. Run a build associated with this repository and then send the debug log to support@finalbuilder.com, along with the name of the relevant repository.