Closed GalenSmallen closed 4 years ago
You can probably close this. They switched my Azure DevOps server to https. It seems that you can use the none secure url but it will redirect or fail to work. After i set the correct URL it worked. I don't know that there is anyway for this command to know that issue. Thanks.
So you configured the URL with http instead of https? If yes then it could be still an enhancement to either throw and error in the module or a warning about this problem.
Do you have the feeling the Azure DevOps itself is throwing the error?
I can see that in the log there is an object returned. Is this an error object? Could you provide the returned object the is shown with the output with:
VERBOSE: @{count=9; value=System.Object[]}
On prem TFS servers don't have to require HTTPS. My test machines are HTTP not HTTPS. How can the module detect the mismatch of protocol their Server is configured with? If there is a way I say we investigate adding it. Otherwise I agree with @GalenSmallen and we just close this.
I made a quick check. Didn't find anything useful to check whether TFS is configured with HTTP or https. And I think we should only use the API to get the information if possible.
So I am closing this for now.
Steps to reproduce
Add-VSTeamBuild -ProjectName Project -BuildDefinitionName Project.Test.Deploy -Verbose -Debug
Expected behavior
Starts a build on the Azure DevOps Server 2019 with that definition name.
Actual behavior
Environment data
OS
Server