Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
pipelines
Commits
cdd40c06
Commit
cdd40c06
authored
Oct 02, 2020
by
Tigran Mkrtchyan
☕
Browse files
dcache: use dcache build container
parent
96c8fe83
Changes
1
Hide whitespace changes
Inline
Side-by-side
dcache-build.yml
View file @
cdd40c06
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment