summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-14 17:39:21 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-14 17:39:21 +0200
commitcccef5c484d8da6411a73a4c576754ff83abdc1c (patch)
tree30e74e7de69729b0662411748bc18d2667c3fadf /lib
parent8bc8e7bc5e6598262a8aba20f064b83cd7c9f0a2 (diff)
downloadgitlab-ci-cccef5c484d8da6411a73a4c576754ff83abdc1c.tar.gz
whenever for schedules
Diffstat (limited to 'lib')
-rw-r--r--lib/runner.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/runner.rb b/lib/runner.rb
index 530ee3c..112d40a 100644
--- a/lib/runner.rb
+++ b/lib/runner.rb
@@ -13,6 +13,7 @@ class Runner
def perform(build_id)
@build = Build.find(build_id)
@project = @build.project
+ @output = ''
run
end
@@ -20,8 +21,6 @@ class Runner
def initialize
@logger = Logger.new(STDOUT)
@logger.level = Logger::INFO
-
- @output = ''
end
def run