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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-28 13:28:26 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-10-05 12:29:28 +0300
commitd3762c22473867d8543b0bb91fd0c696c7aa65f9 (patch)
treeaf98902ed7770c6b75e656a2b32de53fb8ebbb19 /lib/gitlab/ci
parent1ca4f282a493af89c084038c67feca51f1ec5e23 (diff)
Implement pipeline seeds size methods
Diffstat (limited to 'lib/gitlab/ci')
-rw-r--r--lib/gitlab/ci/stage/seed.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/ci/stage/seed.rb b/lib/gitlab/ci/stage/seed.rb
index e19aae35a81..bc97aa63b02 100644
--- a/lib/gitlab/ci/stage/seed.rb
+++ b/lib/gitlab/ci/stage/seed.rb
@@ -3,7 +3,9 @@ module Gitlab
module Stage
class Seed
attr_reader :pipeline
+
delegate :project, to: :pipeline
+ delegate :size, to: :@jobs
def initialize(pipeline, stage, jobs)
@pipeline = pipeline