diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-05-09 18:16:31 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-05-09 18:16:31 +0300 |
commit | a3607aa43971d03b718e070db271104553eca549 (patch) | |
tree | 5c08f9b44e263c2878cba496e088b04a93816788 /features | |
parent | a325a50a0369b036164a52b5449dc696ca75fdd9 (diff) | |
parent | 2ccee7161a58ea04c66b216ccb57e522850f5d95 (diff) |
Merge branch 'issue_27168_2' into 'master'
Preloads head pipeline for each merge request
Closes #27168
See merge request !10064
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/merge_requests.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index 573be44c695..d15417fa173 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -557,6 +557,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps project = merge_request.source_project project.enable_ci pipeline = create :ci_pipeline, project: project, sha: merge_request.diff_head_sha, ref: merge_request.source_branch + merge_request.update(head_pipeline: pipeline) create :ci_build, pipeline: pipeline end |