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

Listing tfs workspaces fails with 4.1.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Component/s: tfs-plugin
    • Environment:
      Windows Server 2012, Jenkins 2.10, tfs-plugin 4.1.0, TFS Server 2015 update 2
    • Similar Issues:

      Description

      I have full Visual Studio 2015 installed, to get its tf command, I had issues with TFS-CLC-14.0.3. When I try to connect to TFS in Jenkins with the 4.1.0 plug in, it fails like this:

      Listing workspaces from https://tfspro.xxxxx.net/tfs/TFS01...
      FATAL: com.microsoft.tfs.core.exceptions.TECoreException: TF14045: The identity b36238e8-6ac5-4f4a-bf3f-20005d3ed049 is not a recognized identity.
      java.lang.RuntimeException: com.microsoft.tfs.core.exceptions.TECoreException: TF14045: The identity b36238e8-6ac5-4f4a-bf3f-20005d3ed049 is not a recognized identity.

      When I go back to the 3.2 version of the plug in, it is ok.

      [workspace] $ "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\tf" history $/AMERICAS_xxxx/Branches/xxx-Test/Source/xxxPortals/InternalPortal -recursive -stopafter:1 -noprompt -version:D2016-06-23T17:06:21Z -format:brief ******** -server:https://tfspro.xxx.net/tfs/TFS01
      Changeset User Date Comment
      --------- ----------------- ---------- ----------------------------------------
      1240594 xxx, Oleg 4/19/2016 Branched from $/AMERICAS_xxx
      [workspace] $ "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\tf" workspaces -format:brief -server:https://tfspro.xxx.net/tfs/TFS01

      I have a custom workspace setup through Jenkins.

      Is there something different about how the 4.1.0 plug calls for the workspaces/history?

      I would also get the same error from the command line when running the tf command from CLC, but it works ok when ruunning the one from Visual Studio like so (string of asterisks removed after ":brief"):

      "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\tf" history $/AMERICAS_xxx/Branches/xxx-Test/Source/xxxPortals/InternalPortal -recursive -stopafter:1 -noprompt -version:D2016-06-23T15:32:09Z -format:brief -server:https://tfspro.xxx.net/tfs/TFS01

      dos that java CLC version of tf hold on to something in cache/memory/config that it shouldn't?

        Attachments

          Activity

          legoleg Oleg N created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 172863 ] JNJira + In-Review [ 184817 ]
          kelliejos Kellie Jos made changes -
          Resolution Done [ 10000 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            redsolo redsolo
            Reporter:
            legoleg Oleg N
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: