Commit cdd40c06 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

dcache: use dcache build container

parent 96c8fe83
stages:
build:rpm
# build:deb
# build:tar
variables:
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
REPO_NAME: dcache
image: maven:3.6.3-openjdk-11
# Cache downloaded dependencies and plugins between builds.
# To keep cache across branches add 'key: "$CI_JOB_NAME"'
......@@ -11,7 +15,8 @@ cache:
paths:
- .m2/repository
build:
stage: build
rpm:
stage: build:rpm
image: dcache/maven-java11-rpm-build
script:
- mvn $MAVEN_CLI_OPTS -am -pl packages/tar -P rpm,code-coverage clean package verify pmd:cpd com.github.spotbugs:spotbugs-maven-plugin:3.1.12:spotbugs
- mvn $MAVEN_CLI_OPTS -am -pl packages/fhs -P rpm
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment