Skip to content
Snippets Groups Projects
Commit b6505343 authored by Andreas's avatar Andreas
Browse files

bug/Fixed pipeline failing

parent e305cd75
No related branches found
No related tags found
No related merge requests found
Pipeline #283423 passed
...@@ -3,13 +3,6 @@ image: maven:3.8.5-openjdk-17 ...@@ -3,13 +3,6 @@ image: maven:3.8.5-openjdk-17
variables: variables:
SPRING_PROFILES_ACTIVE: gitlab-ci SPRING_PROFILES_ACTIVE: gitlab-ci
services:
- name: mysql:latest
alias: mysql
variables:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "sparesti"
cache: cache:
key: "${CI_COMMIT_REF_SLUG}" # Branch-specific cache keys to have separate caches across branches. key: "${CI_COMMIT_REF_SLUG}" # Branch-specific cache keys to have separate caches across branches.
paths: paths:
...@@ -21,6 +14,12 @@ stages: ...@@ -21,6 +14,12 @@ stages:
build_test_project: build_test_project:
stage: build_test stage: build_test
services:
- name: mysql:latest
alias: mysql
variables:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "sparesti"
script: script:
- mvn clean test - mvn clean test
when: always when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment