Loading .gitlab-ci.yml 0 → 100644 +20 −0 Original line number Diff line number Diff line image: redmic/maven-gitlab variables: MAVEN_CLI_OPTS: "--batch-mode" MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" cache: paths: - .m2/repository/ - target/ build: stage: build script: - mvn $MAVEN_CLI_OPTS verify deploy: stage: deploy script: - mvn $MAVEN_CLI_OPTS deploy No newline at end of file Loading
.gitlab-ci.yml 0 → 100644 +20 −0 Original line number Diff line number Diff line image: redmic/maven-gitlab variables: MAVEN_CLI_OPTS: "--batch-mode" MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" cache: paths: - .m2/repository/ - target/ build: stage: build script: - mvn $MAVEN_CLI_OPTS verify deploy: stage: deploy script: - mvn $MAVEN_CLI_OPTS deploy No newline at end of file