Give project to the dummy pipeline

This commit is contained in:
Lin Jen-Shin 2017-07-03 14:17:43 +08:00
parent fb897f53bb
commit d8ab0d609d
1 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,9 @@ module CycleAnalyticsHelpers
def dummy_pipeline
@dummy_pipeline ||=
Ci::Pipeline.new(sha: project.repository.commit('master').sha)
Ci::Pipeline.new(
sha: project.repository.commit('master').sha,
project: project)
end
def new_dummy_job(environment)