Skip to content

Commit

Permalink
Fix selecting branch for Delay Runs (#469)
Browse files Browse the repository at this point in the history
Since latest release there is no ability to select
different branch for different project
So just set same branch for each project
  • Loading branch information
ShockwaveNN authored Jun 24, 2019
1 parent b64b1b6 commit e9fc7c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## master

## 1.17.1 (2019-06-24)

### Fixes

* Fix selecting branch for Delay Runs

## 1.17.0 (2019-06-24)
### New features
* Ability to set `SPEC_BROWSER` to tests via env variables
Expand Down
5 changes: 4 additions & 1 deletion app/client_queue/client_test_queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ def initialize(tests = [])
def push_test(test_path, branch, location, params = {})
test_name = get_name_from_path(test_path)
test_project = get_project(test_path)
params[:doc_branch], params[:tm_branch] = branches(test_project, branch, location.split(' ')[0]) if params[:doc_branch].nil? || params[:tm_branch].nil?
if params[:doc_branch].nil? || params[:tm_branch].nil?
params[:doc_branch] = branch
params[:tm_branch] = branch
end
data_to_push = { test_path: reformat_path(test_path),
id: @id,
doc_branch: params[:doc_branch],
Expand Down

0 comments on commit e9fc7c2

Please sign in to comment.