-
Notifications
You must be signed in to change notification settings - Fork 382
Expand file tree
/
Copy pathbackend-springboot.yml
More file actions
40 lines (38 loc) · 953 Bytes
/
backend-springboot.yml
File metadata and controls
40 lines (38 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
install_backend_springboot:
stage: install
image: maven:3.9-eclipse-temurin-21
before_script:
- cd backend-springboot
script:
- mvn -B -DskipTests verify
# rules:
# - changes: [backend-springboot/**]
test_backend_springboot:
stage: test
image: maven:3.9-eclipse-temurin-21
before_script:
- cd backend-springboot
script:
- mvn -B clean test jacoco:report
artifacts:
when: always
reports:
junit: backend-springboot/target/surefire-reports/*.xml
paths:
- backend-springboot/target/site/jacoco
# rules:
# - changes: [backend-springboot/**]
build_backend_springboot:
stage: build
image: maven:3.9-eclipse-temurin-21
before_script:
- cd backend-springboot
script:
- mvn -B -DskipTests package
artifacts:
paths:
- backend-springboot/target/*.jar
- backend-springboot/target/*.war
expire_in: 7 days
# rules:
# - changes: [backend-springboot/**]