diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0dda0bdb6be4434c91801cb6665364fb7fd63d6a..61d6dad2d52f0dd576adcfcc767d6cad00d0f227 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,3 +30,15 @@ execution: - execution/* - when: manual allow_failure: true + +check: + stage: triggers + trigger: + include: theodolite-quarkus/.gitlab-ci.yml + strategy: depend + rules: + - if: "$CI_COMMIT_TAG" + - changes: + - theodolite-quarkus/* + - when: manual + allow_failure: true diff --git a/theodolite-quarkus/.gitlab-ci.yml b/theodolite-quarkus/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..f4b6de95539357fb9b465a4f08eab280f1bd236a --- /dev/null +++ b/theodolite-quarkus/.gitlab-ci.yml @@ -0,0 +1,34 @@ +image: openjdk:11-jdk + +stages: + - build + - test + #- package + +before_script: + - export GRADLE_USER_HOME=`pwd`/.gradle + +cache: + paths: + - .gradle/wrapper + - .gradle/caches + +compile: + stage: build + script: + - ./theodolite-quarkus/gradlew build + +test: + stage: test + script: + - ./theodolite-quarkus/gradlew test --stacktrace + +# code_style_klint: +# stage: test +# script: +# - ./theodolite-quarkus/gradlew ktlintCheck + +codeanalysis_detekt: + stage: test + script: + - ./theodolite-quarkus/gradlew detekt \ No newline at end of file