diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-05 15:07:52 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-05 15:07:52 +0000 |
commit | afe2b984524ae4b0c8a0636db7ec5b2c452f0734 (patch) | |
tree | 3de39f954c7239e09a9afe84263a64e7042b2b60 /app/services/ci | |
parent | 5a6b36b60502c50ab59c0bc3c345793b70a3d548 (diff) | |
download | gitlab-ce-afe2b984524ae4b0c8a0636db7ec5b2c452f0734.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/ci')
-rw-r--r-- | app/services/ci/find_exposed_artifacts_service.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/services/ci/find_exposed_artifacts_service.rb b/app/services/ci/find_exposed_artifacts_service.rb index d268252577f..abbeb101be2 100644 --- a/app/services/ci/find_exposed_artifacts_service.rb +++ b/app/services/ci/find_exposed_artifacts_service.rb @@ -35,7 +35,7 @@ module Ci { text: job.artifacts_expose_as, url: path_for_entries(metadata_entries, job), - job_path: project_job_path(project, job), + job_path: project_job_path(job.project, job), job_name: job.name } end @@ -59,9 +59,9 @@ module Ci return if entries.empty? if single_artifact?(entries) - file_project_job_artifacts_path(project, job, entries.first.path) + file_project_job_artifacts_path(job.project, job, entries.first.path) else - browse_project_job_artifacts_path(project, job) + browse_project_job_artifacts_path(job.project, job) end end |