Commit b2213d1a authored by mfluharty's avatar mfluharty

Use pipeline.commit for code quality report links

Instead of pipeline.ref, which in the case of a merge request pipeline
refers to the merge request instead, leading to the wrong file URL
parent f90206a9
......@@ -30,4 +30,4 @@
- if codequality_report_download_path
#js-tab-codequality.tab-pane
#js-pipeline-codequality-report{ data: { codequality_report_download_path: codequality_report_download_path,
blob_path: project_blob_path(project, pipeline.ref) } }
blob_path: project_blob_path(project, pipeline.commit) } }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment