I have a Git VCS root with the default branch set as "master" and the Branch Specification set using a build parameter %BRANCH_NAME%.
I want to start this build (with buildTypeId==bt2) with a branch name = "foo". Here is what I've tried, but I want to verify this is the correct form:
$ curl -i -u u:p "http://localhost:8111/httpAuth/action.html?add2Queue=bt2&name=BRANCH_NAME&value=foo"
Is this correct?