summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-03-30 09:15:42 +0200
committerBob Van Landuyt <bob@gitlab.com>2017-04-07 17:24:11 +0200
commit47abf00b24efb0f6263ea37eddf2d6587950c5ee (patch)
tree9159be8bffb2208834b23a0633a097fdb92f103c /features/steps
parent9082d1e046a8da394ea0b271f9f3fea909bb102c (diff)
downloadgitlab-ce-47abf00b24efb0f6263ea37eddf2d6587950c5ee.tar.gz
Update project build status cache when transitioning
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/shared/project.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb
index 4ee879fe922..73206c3f30d 100644
--- a/features/steps/shared/project.rb
+++ b/features/steps/shared/project.rb
@@ -251,7 +251,8 @@ module SharedProject
step 'project "Shop" has CI build' do
project = Project.find_by(name: "Shop")
- create :ci_pipeline, project: project, sha: project.commit.sha, ref: 'master', status: 'skipped'
+ pipeline = create :ci_pipeline, project: project, sha: project.commit.sha, ref: 'master'
+ pipeline.skip
end
step 'I should see last commit with CI status' do