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

TFS Plugin - History command causes authenticate exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • tfs-plugin
    • None
    • Hudson running on Linux x86_64, TFS plugin 1.20, TEE 11.0.0.1306

      The following exception is thrown when the plugin is used in HUDSON (not sure about Jenkins...yet)

      An error occurred: com.microsoft.tfs.core.exceptions.TFSUnauthorizedException: Access denied connecting to TFS server http://company_build_server.com:8080/ (authenticating as company_domain\company_userId)
      FATAL: Executable returned an unexpected result code [100]
      ERROR: null
      

      ...where the company_domain\company_userId is something like "abc\xyz". The other commands used earlier in the build process ("tf workspace", "tf get", etc) work fine using the "company_domain\company_userId" format.

      I think an extra slash "\" is not being inserted. In other words the slashed is not being escaped.

      For giggles I tried switching the format of the userId to "company_user@company_domain" the "tf workspace" command (at the beginning of the build) fails. I get an authentication failure.

            redsolo redsolo
            cja2 CJ Aspromgos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: