This commit is contained in:
Abderrahman El-Ouali 2024-12-02 17:14:11 +01:00
commit 54f0f30a04

View file

@ -1,19 +1,15 @@
image: maven:3.8.3-openjdk-11
stages:
- build
- test
build:
stage: build
script:
- mvn compile
workflow:
rules:
- if: $CI_COMMIT_BRANCH
test:
stage: test
image: maven:3.8.3-openjdk-11
script:
- mvn test
- mvn clean test
variables:
DB_URL: "jdbc:mysql://srv-bdens.insa-toulouse.fr:3306/projet_gei_023"
DB_USER: "projet_gei_023"
DB_PASSWORD: "ohQu4ood"
DB_PASSWORD: "ohQu4ood"
artifacts:
reports:
junit: target/surefire-reports/*.xml