summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorThomas <>2022-01-19 14:18:57 +0100
committerThomas <>2022-01-19 14:18:57 +0100
commitcaeea7aceea23e5ac74c74b55ffe416814e3a778 (patch)
treeb79b5e65fa42a8094e46ecd6191bff8e489ac33c /.gitlab-ci.yml
parent122245400a8cbf72f65a206592eb15f70826ace9 (diff)
downloadEAAF-Components-caeea7aceea23e5ac74c74b55ffe416814e3a778.tar.gz
EAAF-Components-caeea7aceea23e5ac74c74b55ffe416814e3a778.tar.bz2
EAAF-Components-caeea7aceea23e5ac74c74b55ffe416814e3a778.zip
build(CI): optimize source-code analysing and dependency scanning
Diffstat (limited to '.gitlab-ci.yml')
-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