31 lines
569 B
YAML
31 lines
569 B
YAML
stages:
|
|
- test
|
|
- build
|
|
|
|
.img: &img
|
|
image: openjdk:22-jdk-slim
|
|
before_script:
|
|
- echo "___________________START_before_script________________________"
|
|
- echo ${CI_COMMIT_REF_SLUG}
|
|
- apt-get update && apt-get -qqy upgrade
|
|
cache:
|
|
- key: ${CI_COMMIT_REF_SLUG}
|
|
- paths:
|
|
- .gradle/wrapper
|
|
- .gradle/caches
|
|
|
|
test:
|
|
<<: *img
|
|
stage: test
|
|
script:
|
|
- ./gradlew test
|
|
|
|
build:
|
|
<<: *img
|
|
stage: build
|
|
script:
|
|
- ./gradlew clean build -Pvaadin.productionMode
|
|
after_script:
|
|
- echo "_____________end_________________"
|
|
|
|
|