diff options
| author | Rémy Coutable <remy@rymai.me> | 2017-09-26 14:14:07 +0000 |
|---|---|---|
| committer | Rémy Coutable <remy@rymai.me> | 2017-09-26 14:14:07 +0000 |
| commit | 7e71ec199a3aa0852bfdf7f8bb39d96448a58258 (patch) | |
| tree | c774eb9bd9ca7c49f9e4c33796967c4384dec59e /lib | |
| parent | 8787873299e5e1e23888919f196ccf121db35e0f (diff) | |
| parent | f696b04cc88bd38395caf8ccb4003c28f38a9c47 (diff) | |
| download | gitlab-ce-7e71ec199a3aa0852bfdf7f8bb39d96448a58258.tar.gz | |
Merge branch 'expose-last-pipeline-for-a-commit' into 'master'
Expose last pipeline details in API response when getting a single commit
Closes #35692
See merge request gitlab-org/gitlab-ce!13521
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/api/entities.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 71253f72533..085d1edc0fc 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -234,6 +234,7 @@ module API class RepoCommitDetail < RepoCommit expose :stats, using: Entities::RepoCommitStats expose :status + expose :last_pipeline, using: 'API::Entities::PipelineBasic' end class RepoBranch < Grape::Entity |
