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

Allow newer ADO services to work with the TFS plugin

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: tfs-plugin
    • Labels:
    • Environment:
      tfs-plugin: 5.157.1
    • Similar Issues:

      Description

      Right now it seems impossible to use the TFS plugin with a ADO (dev.azure.com) repository.  This seems like its because the plugin skips over the authentication piece for urls that host doesn't end with  `.visualstudio.com`.

      That is because in the TeamRestClient constructor, it does:

       

      if (isTeamServices && credentials != null) {
          authorization = createAuthorization(credentials);
      }
      else {
          authorization = null;
      }
      

      which then it doesn't send along the authorization that you configured in the jenkin's system configuration panel.

       

      I made my own fix: https://github.com/jdstapleton/tfs-plugin/tree/fix-dev-azure

      Then while looking at the pull requests, I saw a pretty identical pull request already: https://github.com/jenkinsci/tfs-plugin/pull/224

       

      So the request of this ticket is that can the pull request 224 be merged and then deployed to Jenkin's plugin server.

       

       

        Attachments

          Activity

          Hide
          ianw Ian Williams added a comment -

          redsolo is no longer maintaining plugin; unassigned issues

          Show
          ianw Ian Williams added a comment - redsolo is no longer maintaining plugin; unassigned issues

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jdstapleton James Stapleton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: