51087cfa1a
Add a download buttons for Build Artifacts ## What does this MR do? This MR adds a download buttons for build artifacts of latest succesful pipeline in: - dashboard of project, - branches and tags views, - and tree viewer Implement #4255 ## What are the relevant issue numbers? Closes #4255, Closes #14419 ## Screenshots ### Project main ![](/uploads/29ee2154a214416059a875f2715d4fa3/Screen_Shot_2016-08-24_at_8.00.31_PM.png) ### Branches ![](/uploads/9220c593288370986fbc1d42a1425ef7/Screen_Shot_2016-08-24_at_8.02.01_PM.png) ### Tags ![](/uploads/a843e8103221fea475a0cf9d62a1999d/Screen_Shot_2016-08-24_at_8.03.32_PM.png) ### Source Tree ![](/uploads/63cd3c8c91b6f427c166dc90d8e3c059/Screen_Shot_2016-08-24_at_8.04.56_PM.png) ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] Download buttons - [x] Models - [x] Routes - [x] Projects::ArtifactsController - [x] API - Tests - Rails - [x] Project#builds_for - [x] branch name with slashes - [x] only success builds - [x] only latest builds - [x] feature tests for download buttons - API - [x] branch name with slashes - [x] only success builds - [x] only latest builds - [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 !5142 |
||
---|---|---|
.. | ||
auth | ||
backend | ||
badge | ||
bitbucket_import | ||
checks | ||
ci | ||
conflict | ||
data_builder | ||
database | ||
diff | ||
downtime_check | ||
fogbugz_import | ||
gfm | ||
git | ||
github_import | ||
gitlab_import | ||
google_code_import | ||
graphs | ||
import_export | ||
ldap | ||
markdown | ||
metrics | ||
middleware | ||
o_auth | ||
request_profiler | ||
saml | ||
sanitizers | ||
sherlock | ||
sidekiq_middleware | ||
slash_commands | ||
sql | ||
template | ||
access.rb | ||
app_logger.rb | ||
asciidoc.rb | ||
auth.rb | ||
award_emoji.rb | ||
bitbucket_import.rb | ||
blame.rb | ||
changes_list.rb | ||
closing_issue_extractor.rb | ||
color_schemes.rb | ||
config_helper.rb | ||
contributions_calendar.rb | ||
contributor.rb | ||
current_settings.rb | ||
database.rb | ||
devise_failure.rb | ||
downtime_check.rb | ||
emoji.rb | ||
exclusive_lease.rb | ||
git.rb | ||
git_access.rb | ||
git_access_status.rb | ||
git_access_wiki.rb | ||
git_logger.rb | ||
git_post_receive.rb | ||
git_ref_validator.rb | ||
gl_id.rb | ||
gon_helper.rb | ||
highlight.rb | ||
identifier.rb | ||
import_export.rb | ||
import_formatter.rb | ||
import_sources.rb | ||
incoming_email.rb | ||
issues_labels.rb | ||
key_fingerprint.rb | ||
lazy.rb | ||
logger.rb | ||
mail_room.rb | ||
markup_helper.rb | ||
metrics.rb | ||
other_markup.rb | ||
popen.rb | ||
production_logger.rb | ||
project_search_results.rb | ||
protocol_access.rb | ||
recaptcha.rb | ||
redis.rb | ||
reference_extractor.rb | ||
regex.rb | ||
repository_check_logger.rb | ||
request_profiler.rb | ||
routing.rb | ||
search_results.rb | ||
seeder.rb | ||
sherlock.rb | ||
sidekiq_logger.rb | ||
snippet_search_results.rb | ||
themes.rb | ||
timeless.rb | ||
upgrader.rb | ||
uploads_transfer.rb | ||
url_builder.rb | ||
url_sanitizer.rb | ||
user_access.rb | ||
utils.rb | ||
version_info.rb | ||
visibility_level.rb | ||
workhorse.rb |