diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-19 14:48:37 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-10-20 12:08:05 +0200 |
commit | c9108442b5ac33514801c38412bed5e7b13677b8 (patch) | |
tree | f8876e90ccb9973c3cff21a3153dd5e9d8c08e13 /app/models | |
parent | 1f949c0a6b08563f3abcd9fd4c9e750c4097b44b (diff) | |
download | gitlab-ce-c9108442b5ac33514801c38412bed5e7b13677b8.tar.gz |
Update duration at the end of pipelineupdate-duration-at-the-end-of-pipeline
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ci/pipeline.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index e84c91b417d..d5c1e03b461 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -59,9 +59,6 @@ module Ci before_transition any => [:success, :failed, :canceled] do |pipeline| pipeline.finished_at = Time.now - end - - before_transition do |pipeline| pipeline.update_duration end |