summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-17 14:10:42 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-17 14:10:42 +0200
commit3e4a8910351d0b76a0ee7316df2c42fccdc5b8ad (patch)
tree8c4830a4264b687a5ace3e140455712a2284b02d /lib
parent11378fd6e092beafe855b25088d614f7c7c7bdb5 (diff)
downloadgitlab-ci-3e4a8910351d0b76a0ee7316df2c42fccdc5b8ad.tar.gz
dont run if build canceled
Diffstat (limited to 'lib')
-rw-r--r--lib/runner.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/runner.rb b/lib/runner.rb
index 7b6ab4d..9761f23 100644
--- a/lib/runner.rb
+++ b/lib/runner.rb
@@ -13,6 +13,7 @@ class Runner
@project = @build.project
@output = ''
+ return true if @build.canceled?
if @project.no_running_builds?
run