Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36677

No support for parallel builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: tfs-plugin
    • Labels:
    • Environment:
      Windows 2012 R2
      Jenkins 2.13
      tfs-plugin 4.0.0
    • Similar Issues:

      Description

      If I set "Execute concurrent builds if necessary" checkbox to ON, I get the below exception.

      It would appear to me the TFS plugin does not support parallel builds on Windows.

      FATAL: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for D:\Jenkins\jobs\MasterBranch\jobs\TheTPS\jobs\TPS\workspace@2.
      java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for D:\Jenkins\jobs\MasterBranch\jobs\TheTPS\jobs\TPS\workspace@2.
      	at hudson.plugins.tfs.model.Server.execute(Server.java:110)
      	at hudson.plugins.tfs.model.Project.getFiles(Project.java:177)
      	at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:54)
      	at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:221)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      	at hudson.model.Run.execute(Run.java:1720)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:404)
      Caused by: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for D:\Jenkins\jobs\MasterBranch\jobs\TheTPS\jobs\TPS\workspace@2.
      	at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getLocalWorkspace(VersionControlClient.java:737)
      	at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getWorkspace(VersionControlClient.java:2154)
      	at hudson.plugins.tfs.model.MockableVersionControlClient.getWorkspace(MockableVersionControlClient.java:93)
      	at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:57)
      	at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:17)
      	at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
      	at hudson.plugins.tfs.model.Server.execute(Server.java:106)
      	... 11 more
      

        Attachments

          Activity

          apgray Andrew Gray created issue -
          apgray Andrew Gray made changes -
          Field Original Value New Value
          Description If I set "Execute concurrent builds if necessary" checkbox on I get the below exception.It would appear to me the TFS plugin does not support parallel builds on Windows.


          {code:java}

          FATAL: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for D:\Jenkins\jobs\MasterBranch\jobs\TheTPS\jobs\TPS\workspace@2.
          java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for D:\Jenkins\jobs\MasterBranch\jobs\TheTPS\jobs\TPS\workspace@2.
          at hudson.plugins.tfs.model.Server.execute(Server.java:110)
          at hudson.plugins.tfs.model.Project.getFiles(Project.java:177)
          at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:54)
          at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:221)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
          at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
          at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
          at hudson.model.Run.execute(Run.java:1720)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:404)
          Caused by: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for D:\Jenkins\jobs\MasterBranch\jobs\TheTPS\jobs\TPS\workspace@2.
          at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getLocalWorkspace(VersionControlClient.java:737)
          at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getWorkspace(VersionControlClient.java:2154)
          at hudson.plugins.tfs.model.MockableVersionControlClient.getWorkspace(MockableVersionControlClient.java:93)
          at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:57)
          at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:17)
          at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
          at hudson.plugins.tfs.model.Server.execute(Server.java:106)
          ... 11 more
          {code}
          If I set "Execute concurrent builds if necessary" checkbox to ON, I get the below exception.

          It would appear to me the TFS plugin does not support parallel builds on Windows.
          {code:java}

          FATAL: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for D:\Jenkins\jobs\MasterBranch\jobs\TheTPS\jobs\TPS\workspace@2.
          java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for D:\Jenkins\jobs\MasterBranch\jobs\TheTPS\jobs\TPS\workspace@2.
          at hudson.plugins.tfs.model.Server.execute(Server.java:110)
          at hudson.plugins.tfs.model.Project.getFiles(Project.java:177)
          at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:54)
          at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:221)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
          at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
          at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
          at hudson.model.Run.execute(Run.java:1720)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:404)
          Caused by: com.microsoft.tfs.core.clients.versioncontrol.exceptions.ItemNotMappedException: There is no working folder mapping for D:\Jenkins\jobs\MasterBranch\jobs\TheTPS\jobs\TPS\workspace@2.
          at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getLocalWorkspace(VersionControlClient.java:737)
          at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.getWorkspace(VersionControlClient.java:2154)
          at hudson.plugins.tfs.model.MockableVersionControlClient.getWorkspace(MockableVersionControlClient.java:93)
          at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:57)
          at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:17)
          at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
          at hudson.plugins.tfs.model.Server.execute(Server.java:106)
          ... 11 more
          {code}
          apgray Andrew Gray made changes -
          Issue Type Improvement [ 4 ] Bug [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 173404 ] JNJira + In-Review [ 185108 ]
          kelliejos Kellie Jos made changes -
          Resolution Done [ 10000 ]
          Status Open [ 1 ] Closed [ 6 ]
          flocki Florian Pepping made changes -
          Assignee redsolo [ redsolo ] Kellie Jos [ kelliejos ]
          flocki Florian Pepping made changes -
          Resolution Done [ 10000 ]
          Status Closed [ 6 ] Reopened [ 4 ]

            People

            Assignee:
            kelliejos Kellie Jos
            Reporter:
            apgray Andrew Gray
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: