BigW Consortium Gitlab

Commit 5d50cbfa by Shinya Maeda

Use unknown_failure for runner

parent 69df47c7
...@@ -129,11 +129,8 @@ module API ...@@ -129,11 +129,8 @@ module API
when 'success' when 'success'
job.success job.success
when 'failed' when 'failed'
if params[:failure_reason] failure_reason = params[:failure_reason] ? params[:failure_reason].to_sym : :unknown_failure
job.drop(params[:failure_reason].to_sym) job.drop(failure_reason)
else
job.drop(:job_failure)
end
end end
end end
......
Markdown is supported
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