BigW Consortium Gitlab

Commit cd556253 by Katarzyna Kobierska

Workaround for Build attributes

parent 6fa77ab8
......@@ -21,6 +21,8 @@ module Ci
user: current_user,
trigger_request: trigger_request
)
# OPTIMIZE: We copy over all attributes of Job into Build, therefore this workaround
build_attributes = build_attributes.except(:only, :except)
pipeline.builds.create(build_attributes)
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