Use bang for trigger.trigger_requests.create
This commit is contained in:
parent
b3b8b595a1
commit
445f213527
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module Ci
|
|||
|
||||
pipeline = Ci::CreatePipelineService.new(project, trigger.owner, ref: params[:ref])
|
||||
.execute(:trigger, ignore_skip_ci: true) do |pipeline|
|
||||
trigger.trigger_requests.create(pipeline: pipeline)
|
||||
trigger.trigger_requests.create!(pipeline: pipeline)
|
||||
create_pipeline_variables!(pipeline)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue