Enhance Woodpecker workflow: add checkout and Maven compile steps

This commit is contained in:
2026-03-07 11:23:21 +01:00
parent 9d41ddc2e5
commit 116350b65d
+14 -1
View File
@@ -1,3 +1,4 @@
when:
- event: push
branch: develop
@@ -7,5 +8,17 @@ steps:
image: alpine
commands:
- echo "Hello World!"
- echo "This is a test step"
- name: checkout
image: maven:3-amazoncorretto-17-alpine
commands:
- git clone $CI_REPO_URL .
- git checkout $CI_COMMIT_SHA
- name: compile
image: maven:3-amazoncorretto-17-alpine
commands:
- mvn clean compile