From a070139872c65dc19d7fdd0b489474165627a4f1 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Thu, 12 Jan 2023 07:44:04 +0100 Subject: build(ci): optimize dependency and code validation --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1cd13b89..23eacde9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,17 @@ 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" + DS_JAVA_VERSION: 11 + +spotbugs-sast: + variables: + MAVEN_CLI_OPTS: "-DskipTests --settings ${CI_PROJECT_DIR}/.cisettings.xml" + SAST_JAVA_VERSION: 11 + default: tags: - docker -- cgit v1.2.3