-
Improvement
-
Resolution: Unresolved
-
Major
-
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.