• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • tfs-plugin
    • None
    • Jenkins 2.89.3; TFS 2017 on premise

      I have setup a TFS release job that has two artifacts - one from Jenkins and one from TFS Build.  In the Jenkins "release" job, I have a post-build action to Trigger release in TFS.  The userid is set to DOMAIN\userid (substituting the actual userid and Domain) and the correct password.  This user has admin rights in TFS and for the TFS Release job.  I get the below error.
      ERROR: Failed to trigger release.%n
      hudson.plugins.tfs.rm.ReleaseManagementException: hudson.plugins.tfs.rm.ReleaseManagementException: Error occurred.%nStatus: 401%nResponse:
      <!DOCTYPE html>
      <html>
      <head>
      <title>TF400813: Resource not available for anonymous access. Client authentication required. - Microsoft Team Foundation Server</title>

          [JENKINS-50267] Trigger release in TFS failing with TF400813

          Michel Calvin created issue -
          Michel Calvin made changes -
          Attachment New: Release.zip [ 42021 ]
          Michel Calvin made changes -
          Attachment New: JenkinsLogs.txt [ 42022 ]
          Brian Cristante made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            redsolo redsolo
            calvinmichel Michel Calvin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: