diff options
-rw-r--r-- | .gitlab-ci.yml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1a8495b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,47 @@ +image: gradle:6.8.3-jdk11 + +variables: + LC_ALL: "en_US.UTF-8" + LANG: "en_US.UTF-8" + LANGUAGE: "en_US" + LIB_NAME: "einfach-signieren" + GIT_DEPTH: "2" + SECURE_LOG_LEVEL: "debug" + PROJECT_PACKAGE: '${CI_PROJECT_DIR}/simpleSigning/build/libs/*.war' + +include: + - template: Dependency-Scanning.gitlab-ci.yml + - template: Security/SAST.gitlab-ci.yml + - template: Secret-Detection.gitlab-ci.yml + +default: + tags: + - docker + +stages: + - assemble + - test + - package + - release + +cache: + paths: + - .m2/repository + - .gradle/wrapper + - .gradle/caches + +assemble_jdk11: + stage: assemble + tags: + - docker + except: + - tags + script: | + cd ./simpleSigning + ./gradlew clean build --warning-mode all + artifacts: + when: always + reports: + junit: "**/build/test-results/test/**/TEST-*.xml" + paths: + - $PROJECT_PACKAGE |