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

Allow newer ADO services to work with the TFS plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • tfs-plugin
    • tfs-plugin: 5.157.1

      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.

       

       

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

              Created:
              Updated: