Does anyone know the source (not the code but who produces) for the Java API used by the Jenkins Team Foundation Server plugin? I'm having some strange errors and I don't get why the TFS server is producing these things. The build process deletes the workspace, and given the name it's deleting what TFS calls a workspace and not the Jenkins workspace, it then remakes the workspace and attempts to do a mapping. However, I get this:
Deleting workspaces named 'Hudson-LinuxBuildCompileOnly-devlnx64-03' from computer 'devlnx64-03'...
Deleted 1 workspace(s) named 'Hudson-LinuxBuildCompileOnly-devlnx64-03'.
Creating workspace 'Hudson-LinuxBuildCompileOnly-devlnx64-03' owned by 'WINNTDOM\umtfsservice'...
Created workspace 'Hudson-LinuxBuildCompileOnly-devlnx64-03'.
Mapping '$/Project/Main' to local folder '/home/ssdrive/jenkins/workspace/LinuxBuildCompileOnly' in workspace 'Hudson-LinuxBuildCompileOnly-devlnx64-03'...
FATAL: com.microsoft.tfs.core.clients.versioncontrol.exceptions.MappingConflictException: The path /home/builder/jenkins/workspace/LinuxBuildCompileOnly is already mapped in workspace Hudson-LinuxBuildCompileOnly-devlnx64-04.
As you can see, the build attempts to map the source control location to a local folder and then encounters the fatal error. The strange thing is that the workspace in which it says that it's already mapped, isn't on this system. Furthermore, what does it matter? I've used TFS for the last 4 years and I've mapped the same location in TFS in multiple workspaces many times. What's up with this?