summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f6dfac69..7c3b3ae1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,6 +18,16 @@ include:
- template: Security/SAST.gitlab-ci.yml
- template: Secret-Detection.gitlab-ci.yml
+## skip jUnit tests in Test jobs to speed-up build time
+dependency_scanning:
+ variables:
+ MAVEN_CLI_OPTS: "-DskipTests --settings ${CI_PROJECT_DIR}/.cisettings.xml"
+
+spotbugs-sast:
+ variables:
+ MAVEN_CLI_OPTS: "-DskipTests --settings ${CI_PROJECT_DIR}/.cisettings.xml"
+ SAST_JAVA_VERSION: 11
+
default:
tags:
- docker