diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-19 14:48:37 +0200 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2016-10-21 08:43:35 +1100 |
commit | ea704005c7bdca55e2782a2c24fe0c5e89cad179 (patch) | |
tree | b5e5f5edbdf31bc777d9b4dcab8beacc08b23928 /app | |
parent | 435678d58828db76c3ef5f95643dac0e3ae979b3 (diff) | |
download | gitlab-ce-ea704005c7bdca55e2782a2c24fe0c5e89cad179.tar.gz |
Update duration at the end of pipeline
Diffstat (limited to 'app')
-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 |