diff options
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 |