Skip to content
Snippets Groups Projects
Commit a6c44bb2 authored by Lorenz Boguhn's avatar Lorenz Boguhn Committed by Sören Henning
Browse files

Add theodolite to gitlab-ci

parent 96b94d81
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!84Gitlab CI for Theodolite-Kotlin-Quarkus,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
......@@ -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
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment