From 1549f85a49fbebdaa37c0462c83c22cbc74d0473 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Sat, 23 Sep 2023 21:53:54 +0300 Subject: [PATCH] Add the CI/CD configuration for Gradle and Maven build. --- .drone.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone.yaml diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 0000000..509f924 --- /dev/null +++ b/.drone.yaml @@ -0,0 +1,24 @@ +--- +kind: pipeline +type: docker +name: gradle + +steps: + - name: test + image: gradle:8.3.0-jdk17-graal + commands: + - gradle assemble + - gradle check + +--- +kind: pipeline +type: docker +name: maven + +steps: + - name: test + image: maven:3.9.4-eclipse-temurin-17-alpine + commands: + - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V + - mvn test -B +