Commit a86b1cf4 authored by Andrey Brindeyev's avatar Andrey Brindeyev
Browse files

Fix for the incorrect reporting of running build

Running builds with assigned build number from Jenkins were reported as failed in the API
Signed-off-by: default avatarAndrey Brindeyev <>
parent 014693be
......@@ -84,7 +84,7 @@ get '/projects/:job_id/builds/:commit/status.json' do
if commit.status.nil?
status = "running"
elsif ["success", "failed"].include? commit.status
elsif ["success", "failed", "running"].include? commit.status
status = commit.status
status = "failed"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment