gitlab-org--gitlab-foss/lib
Rémy Coutable b8d75d41aa Merge branch 'fix/builds-api-builds-for-commit-search' into 'master'
Find all builds for commit if there are multiple pipelines for it

## What does this MR do?

This MR fixes a builds API. When multiple pipelines were triggered for a commit, then API returned builds only from the last pipeline.

## What are the relevant issue numbers?

Closes #18912  
Closes #19243 

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [x] API support added
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !4849
2016-06-28 17:10:07 +00:00
..
api Remove redundant check in commit builds API endpoint 2016-06-28 17:15:38 +02:00
assets
backup Only create the backup directory if it is local 2016-06-10 10:17:54 -07:00
banzai Wrap images in divs with Banzai and limit max-height. 2016-06-27 09:16:07 -06:00
ci Merge branch 'refactor/ci-config-add-entry-error' into 'master' 2016-06-27 08:24:17 +00:00
container_registry Show proper image ID on registry page 2016-06-21 13:08:10 +02:00
gitlab Use clock_gettime for all performance timestamps 2016-06-28 17:51:25 +02:00
json_web_token Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
omni_auth
rouge/formatters
support Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
tasks added nice to have - rake task and some changes to docs 2016-06-21 19:23:21 +02:00
banzai.rb Move pre_process into render_result 2016-06-21 17:39:01 +02:00
disable_email_interceptor.rb
event_filter.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
extracts_path.rb
file_size_validator.rb Get rid of more requires, which causes warnings when code is reloaded 2016-04-19 11:48:10 +02:00
file_streamer.rb
gitlab.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb