Skip to content

Fixed SOURCE_CODE variable in Code Quality not being overwritten

What does this MR do and why?

The Code Quality scan environment variable SOURCE_CODE is being overwritten by getting override by the Code-Quality.gitlab-ci.yml when running the job. Therefore, setting this variable has no effect on the operation of Code Quality scan. This MR solves this issue.

There was an unmerged MR to solve this issue in 2020: !49314 (closed). This MR is a re-creation of that MR.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

There is no UI change

How to set up and validate locally

Sample projects for the both utilizing this change and not.

Closes #431196 (closed)

Edited by Kosuke Kamiya

Merge request reports