chorel(MAVEN): Change Path to maven Test Template

This commit is contained in:
Marcel Feix 2022-05-13 15:46:46 +02:00
parent b34da659e9
commit b6bc0667fc
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03
5 changed files with 8 additions and 3 deletions

View File

@ -23,5 +23,5 @@ image::GitlabCiTest.png[]
.mvn-verify-template .mvn-verify-template
[source, yaml] [source, yaml]
---- ----
include::{sourcedir}/java/maven/maven-verify.gitlab-ci.yml[] include::{sourcedir}/java/maven/maven-test.gitlab-ci.yml[]
---- ----

View File

@ -46,7 +46,7 @@ include:
- project: 'gilden/ci/gitlab-ci-templates' - project: 'gilden/ci/gitlab-ci-templates'
ref: '2.0.0' ref: '2.0.0'
file: file:
- '/templates/java/maven/maven-verify.gitlab-ci.yml' - '/templates/java/maven/maven-test.gitlab-ci.yml'
test-image: test-image:
stage: test-image stage: test-image

View File

@ -1,7 +1,7 @@
include: include:
- '/templates/java/maven/maven-dependencies.gitlab-ci.yml' - '/templates/java/maven/maven-dependencies.gitlab-ci.yml'
- '/templates/java/maven/maven-build.gitlab-ci.yml' - '/templates/java/maven/maven-build.gitlab-ci.yml'
- '/templates/java/maven/maven-verify.gitlab-ci.yml' - '/templates/java/maven/maven-test.gitlab-ci.yml'
- '/templates/java/maven/maven-database-diff.gitlab-ci.yml' - '/templates/java/maven/maven-database-diff.gitlab-ci.yml'
- '/templates/static-analysis/repo-cve-scan-trivy.gitlab-ci.yml' - '/templates/static-analysis/repo-cve-scan-trivy.gitlab-ci.yml'
- '/templates/static-analysis/sonar.gitlab-ci.yml' - '/templates/static-analysis/sonar.gitlab-ci.yml'

View File

@ -11,3 +11,8 @@ include:
script: script:
- "cd $BACKEND_DIR" - "cd $BACKEND_DIR"
- mvn compile liquibase:update liquibase:diff $MAVEN_EXTRA_OPTS - mvn compile liquibase:update liquibase:diff $MAVEN_EXTRA_OPTS
artifacts:
when: on_failure
expire_in: 2 weeks
paths:
- $BACKEND_DIR/target/db-diff.xml