diff options
author | Standa Opichal <opichals@gmail.com> | 2015-02-18 15:47:10 +0100 |
---|---|---|
committer | Standa Opichal <opichals@gmail.com> | 2015-02-19 13:11:10 +0100 |
commit | 008e3d66e9649079037260c072020340c69f3eec (patch) | |
tree | 5845980127104dce7d8325cecaf671812b8009d8 /lib/api/files.rb | |
parent | 0b8e41aae2d6d64d18d8034e863e72cc832d0b83 (diff) | |
download | gitlab-ce-008e3d66e9649079037260c072020340c69f3eec.tar.gz |
Fix for TeamCity buildQueue REST API build/@branchName.
Strips the refs/heads/ if any to get just the branchName out of a :ref
e.g.: `refs/heads/feature/newProfile` -> `feature/newProfile`
The TeamCity buildQueue POST data require the branchName attribute
to contain just the branch name (just xyzbranch and not the full
ref in the refs/heads/xyzbranch). With the refs/heads/xyzbranch the
build is triggered and looks like it is working however it always
ompiles the default branch (or master).
Diffstat (limited to 'lib/api/files.rb')
0 files changed, 0 insertions, 0 deletions