-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queueing a build fails with poor error message #106
Comments
@lzybkr looks like there are at least two issues here. The first is that this api isn't sending the exception back in the standard way that the service typically does. We will need to update our code to account for that. The second is that the service is returning an exception message that is not very helpful. When you ran your command did you specify a source branch? If not give that a try, and see if the error goes away. |
That did help - our default branch is not |
partial fix for error message issue in microsoft/azure-devops-python-api#27 |
Filed two bugs last week on the build team for the service. We will be able to provide a more detailed message, once these bugs are addressed. |
Sorry for leaving this so long, it got lost in the holiday shuffle. I've got a PR going through right now that will make the exception message clearer. |
This should be fixed now by a combination of the updated cli version 0.1.1, which includes microsoft/azure-devops-python-api#27 and updates to the service. This will still be an issue when targeting older on premises TFS Servers that don't have the server side fix. |
I tried queue a build and received this error:
That wasn't very helpful, so I added
--debug
and got something a bit more helpful:Here's the important part I think:
I don't think there is anything wrong with the YAML - builds from the UI work just fine.
The text was updated successfully, but these errors were encountered: