Commit 5ab4cd37 authored by stendler's avatar stendler

fix gemnasium-maven also creating gemnasium job

only defining gemnasium-maven or gemnasium-python as default analyzer
now will not additionally create a gemnasium job if all other
conditions are met.

[gitlab-org/gitlab#39951]
parent 5a8ca1cb
......@@ -88,7 +88,7 @@ gemnasium-dependency_scanning:
only:
variables:
- $GITLAB_FEATURES =~ /\bdependency_scanning\b/ &&
$DS_DEFAULT_ANALYZERS =~ /gemnasium/ &&
$DS_DEFAULT_ANALYZERS =~ /gemnasium([^-]|$)/ &&
$CI_PROJECT_REPOSITORY_LANGUAGES =~ /ruby|javascript|php/
gemnasium-maven-dependency_scanning:
......
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