diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-03-30 09:15:42 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2017-04-07 17:24:11 +0200 |
commit | 47abf00b24efb0f6263ea37eddf2d6587950c5ee (patch) | |
tree | 9159be8bffb2208834b23a0633a097fdb92f103c /features/steps | |
parent | 9082d1e046a8da394ea0b271f9f3fea909bb102c (diff) | |
download | gitlab-ce-47abf00b24efb0f6263ea37eddf2d6587950c5ee.tar.gz |
Update project build status cache when transitioning
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/shared/project.rb | 3 |
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 |