Skip to content
Snippets Groups Projects
Commit 12074e30 authored by Sören Henning's avatar Sören Henning
Browse files

Enable CI builds

parent 9995ef0f
No related branches found
No related tags found
No related merge requests found
...@@ -23,37 +23,80 @@ stages: ...@@ -23,37 +23,80 @@ stages:
build: build:
stage: build stage: build
tags: tags:
- dockerex - exec-docker
script: ./gradlew --build-cache assemble script: ./gradlew --build-cache assemble
test: test:
stage: test stage: test
tags: tags:
- dockerex - exec-docker
script: ./gradlew test script: ./gradlew test
.checkstyle: checkstyle:
stage: check stage: check
tags: tags:
- dockerex - exec-docker
script: ./gradlew checkstyle script: ./gradlew checkstyle
allow_failure: true
artifacts:
paths:
- build/reports/checkstyle/main.html
- uc1-application/build/reports/checkstyle/main.html
- uc1-workload-generator/build/reports/checkstyle/main.html
- uc2-application/build/reports/checkstyle/main.html
- uc2-workload-generator/build/reports/checkstyle/main.html
- uc3-application/build/reports/checkstyle/main.html
- uc3-workload-generator/build/reports/checkstyle/main.html
- uc4-application/build/reports/checkstyle/main.html
- uc4-workload-generator/build/reports/checkstyle/main.html
when: on_failure
expire_in: 1 day
.pmd: pmd:
stage: check stage: check
tags: tags:
- dockerex - exec-docker
script: ./gradlew pmd script: ./gradlew pmd
allow_failure: true
artifacts:
paths:
- build/reports/pmd/*.html
- uc1-application/build/reports/pmd/*.html
- uc1-workload-generator/build/reports/pmd/*.html
- uc2-application/build/reports/pmd/*.html
- uc2-workload-generator/build/reports/pmd/*.html
- uc3-application/build/reports/pmd/*.html
- uc3-workload-generator/build/reports/pmd/*.html
- uc4-application/build/reports/pmd/*.html
- uc4-workload-generator/build/reports/pmd/*.html
when: on_failure
expire_in: 1 day
.spotbugs: spotbugs:
stage: check stage: check
tags: tags:
- dockerex - exec-docker
script: ./gradlew spotbugs script: ./gradlew spotbugs
allow_failure: true
artifacts:
paths:
- build/reports/spotbugs/*.html
- uc1-application/build/reports/spotbugs/*.html
- uc1-workload-generator/build/reports/spotbugs/*.html
- uc2-application/build/reports/spotbugs/*.html
- uc2-workload-generator/build/reports/spotbugs/*.html
- uc3-application/build/reports/spotbugs/*.html
- uc3-workload-generator/build/reports/spotbugs/*.html
- uc4-application/build/reports/spotbugs/*.html
- uc4-workload-generator/build/reports/spotbugs/*.html
when: on_failure
expire_in: 1 day
.deploy: .deploy:
stage: deploy stage: deploy
tags: tags:
- dockerex - exec-docker
# see https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled # see https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
# for image usage and settings for building with TLS and docker in docker # for image usage and settings for building with TLS and docker in docker
image: docker:19.03.1 image: docker:19.03.1
......
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