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

Trigger release in TFS failing with TF400813

XMLWordPrintable

    • 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>

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

              Created:
              Updated:
              Resolved: