diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-08 09:51:36 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-12 12:59:01 +0100 |
commit | 633e64382d30674fecb1aaf138d18c73827c9a40 (patch) | |
tree | 4e922fe6b109855b243ff82ca66d9ee4eae4bc9b /app/models/commit_status.rb | |
parent | db9e1635d0d17596193ecbee8e0acc1916918d1d (diff) | |
download | gitlab-ce-633e64382d30674fecb1aaf138d18c73827c9a40.tar.gz |
Added Ci::Status::Build
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r-- | app/models/commit_status.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index cf90475f4d4..fce16174e22 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -131,4 +131,8 @@ class CommitStatus < ActiveRecord::Base def has_trace? false end + + def detailed_status + Gitlab::Ci::Status::Factory.new(self).fabricate! + end end |