Is there a way to queue a (XAML) build on TFS with a specific changeset via the REST API?
I already tried this, which queues the build but uses the latest changeset. Not the one I specified.
POST https://{instance}/DefaultCollection/{project}/_apis/build/builds?api-version={version}
{
"definition": {
"id": 28
},
"sourceBranch": "$/xxxx/xxxx",
"SourceVersion": "Cxxxx",
}
I found this solution here: How to correctly pass variables & source version to API 2.0 VNext Build in TFS 2015
But it is for TFS 2015 and vNext builds. What I'm looking for is 2017 and XAML.