Sparrow_ua
Sparrow_ua

Reputation: 704

VSTS returns Bad Request, when specifying changeset for build

I'm using VSTS for my Nightly/CI builds.

VSTS pulls the code from TFS repository.

I noticed that triggering the build against (specific changeset E.g.'33333', 'C33333') returns

"BadRequest 400 The value specified for SourceVersion is not a valid version spec." 

Microsoft.TeamFoundation.Build.Server.BuildRequestValidationFailedException

When changeset is not specified everything works fine. Did anyone had this problem?

Upvotes: 0

Views: 357

Answers (2)

Sparrow_ua
Sparrow_ua

Reputation: 704

I have a request to Microsoft. They know about this bug. This issue will be fixed this week.

Upvotes: 1

starian chen-MSFT
starian chen-MSFT

Reputation: 33698

You mean Team Foundation Version Control repository type. Based on my test with VSTS, I can reproduce that issue, the same as REST API.

You can vote this feedback (https://connect.microsoft.com/VisualStudio/feedback/details/3102566/specifying-a-source-version-in-vsts-returns-a-400-bad-request) and track update of VSTS.

Upvotes: 0

Related Questions