Skip to content

fix gemnasium-maven also creating gemnasium job

~"Category:Dependency Scanning" ~bug devopssecure Community contribution

What does this MR do?

Currently if DS_DEFAULT_ANALYZERS is set to gemnasium-maven or gemnasium-python it may also create an additional job as if it was set to gemnasium if all other conditions (project containing certain languages) are met.

This MR fixes this behavior for cases like gemnasium-* but retains the ability to define multiple analyzers like gemnasium,gemnasium-maven.


WIP:

  • add changelog entry (What would be a good title?)
  • thoughts about a regression test?

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Adding a regression test might be an option, but seems complicated to me for these regex checks within variables.

Closes #39951 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports