Skip to content
Snippets Groups Projects
Commit c929dd57 authored by Kamil Trzcińśki's avatar Kamil Trzcińśki Committed by GitLab Release Tools Bot
Browse files

Merge branch 'ce-9826-fix-broken-downstreams-backport-factory' into 'master'

Backports EE change for expanded pipelines

See merge request gitlab-org/gitlab-ce!26043

(cherry picked from commit 30e52b23)

f8bac850 Backports EE change for expanded pipelines
parent ed61ca9b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -82,6 +82,12 @@ FactoryBot.define do
end
end
 
trait :with_job do
after(:build) do |pipeline, evaluator|
pipeline.builds << build(:ci_build, pipeline: pipeline, project: pipeline.project)
end
end
trait :auto_devops_source do
config_source { Ci::Pipeline.config_sources[:auto_devops_source] }
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment