chorel(MAVEN): Change Path to maven Test Template
This commit is contained in:
parent
b34da659e9
commit
b6bc0667fc
@ -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[]
|
||||||
----
|
----
|
||||||
@ -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
|
||||||
|
|||||||
@ -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'
|
||||||
|
|||||||
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user