summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeldakatze <coffee@zeldakatze.de>2025-05-20 09:56:54 +0200
committerzeldakatze <coffee@zeldakatze.de>2025-05-20 10:23:03 +0200
commitf649eac648acac96b37e820c1c5de02b9241c59d (patch)
tree280b2aebebe1d10c862f5786011078372e09fb41
parent0394f72f780628599598cbe476942f8572be1524 (diff)
downloadse25-assignment03-feature/fix-test.tar.gz
se25-assignment03-feature/fix-test.zip
add branch to ci; add gitlab cifeature/fix-test
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--.gitlab-ci.yml8
2 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e79cb4a..84b2ac6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,7 +2,7 @@ name: Build CampusCoffee
on:
push:
- branches: [ "main" ]
+ branches: [ "main", "feature/*" ]
pull_request:
branches: [ "main" ]
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..6fd0023
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,8 @@
+stages:
+ - build
+
+build:
+ stage: build
+ script:
+ - mvn -B package --file pom.xml
+