-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Jenkins 2.107.1
TFS-plugin 5.133.0
matrix-plugin 1.13
When using the TFS-plugin in combination with the Matrix plugin the first build of the project worked fine. But every new build of the same project throws this error:
Creating workspace 'Hudson-iTrak(multi-browser)-MASTER' owned by 'ealjas'... Mapping '$/QA/iTrak/iTrak12' to local folder 'C:\wrkspc\iTrak(multi-browser)' in workspace 'Hudson-iTrak(multi-browser)-MASTER'... FATAL: com.microsoft.tfs.core.clients.versioncontrol.exceptions.MappingConflictException: The path C:\wrkspc\iTrak(multi-browser)\SELENIUM_DRIVER\Windows_10chromelatest is already mapped in workspace Hudson-SELENIUM_DRIVER=Windows_10chromelatest-MASTER. com.microsoft.tfs.core.clients.versioncontrol.exceptions.MappingConflictException: The path C:\wrkspc\iTrak(multi-browser)\SELENIUM_DRIVER\Windows_10chromelatest is already mapped in workspace Hudson-SELENIUM_DRIVER=Windows_10chromelatest-MASTER. at com.microsoft.tfs.core.clients.versioncontrol.workspacecache.internal.InternalCache.checkForMappingConflicts(InternalCache.java:229) at com.microsoft.tfs.core.clients.versioncontrol.workspacecache.internal.InternalCache.checkForMappingConflicts(InternalCache.java:176) at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.createWorkspace(VersionControlClient.java:1014) at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.createWorkspace(VersionControlClient.java:950) at hudson.plugins.tfs.model.MockableVersionControlClient.createWorkspace(MockableVersionControlClient.java:114) at hudson.plugins.tfs.commands.NewWorkspaceCommand.call(NewWorkspaceCommand.java:81) at hudson.plugins.tfs.commands.NewWorkspaceCommand.call(NewWorkspaceCommand.java:24) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.plugins.tfs.model.Server.execute(Server.java:233) Caused: java.lang.RuntimeException at hudson.plugins.tfs.model.Server.execute(Server.java:237) at hudson.plugins.tfs.model.Workspaces.newWorkspace(Workspaces.java:109) at hudson.plugins.tfs.actions.CheckoutAction.getProject(CheckoutAction.java:144) at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:59) at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:352) at hudson.scm.SCM.checkout(SCM.java:504) at hudson.model.AbstractProject.checkout(AbstractProject.java:1203) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1727) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:323) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE
I have had no success with the workaround for this problem by deleting the workspace manually before building the project so a solution would be desirable.
I am also seeing this issue.