Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-03-30 10:15:42 +0300
committerBob Van Landuyt <bob@gitlab.com>2017-04-07 18:24:11 +0300
commit47abf00b24efb0f6263ea37eddf2d6587950c5ee (patch)
tree9159be8bffb2208834b23a0633a097fdb92f103c /features
parent9082d1e046a8da394ea0b271f9f3fea909bb102c (diff)
Update project build status cache when transitioning
Diffstat (limited to 'features')
-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