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

Allow newer ADO services to work with the TFS plugin


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


      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.





          There are no comments yet on this issue.


            • Assignee:
              redsolo redsolo
              jdstapleton James Stapleton
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: