diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-08 20:06:25 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-08 20:06:25 +0200 |
commit | 42b0763f454490e024a8fd16b922025aa337b80b (patch) | |
tree | 65c9225b30faeecf8fcd2790cb9c84d73f634e49 /lib | |
parent | 78787ded9c37911152b4a619cd048dd85a5390f9 (diff) | |
download | gitlab-ci-42b0763f454490e024a8fd16b922025aa337b80b.tar.gz |
Added validations to builds
Diffstat (limited to 'lib')
-rw-r--r-- | lib/runner.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/runner.rb b/lib/runner.rb index 110e75f..dfea63f 100644 --- a/lib/runner.rb +++ b/lib/runner.rb @@ -24,7 +24,10 @@ class Runner path = project.path commands = project.scripts - build.update_attributes(started_at: Time.now) + build.update_attributes( + started_at: Time.now, + status: 'running' + ) Dir.chdir(path) do commands.each_line do |line| |