Open csaba-sagi-sonarsource opened 1 year ago
From Scanner Monthly;
The stub is always left in the common folder (for when build agents share the same CI machine).
The "link" is in the working directory (the other target files; the stub finds this link via environment variables). When the build fails, the working directory is not cleaned.
scope: self-hosted Azure agents with multi-step pipelines.
ToDo: narrow down the problem
The problem with the current approach is that if the build fails, users don't run the end step (not to push partial results) so the target file is not removed. This can cause our analyzers to be involved in other builds that the users were not planning to analyze. Issues reported by the community: