Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
cosmotool
Commits
350952ff
Commit
350952ff
authored
Aug 12, 2019
by
Gradl, Tobias
Browse files
Migrating CI to winseda-nexus
parent
64a1d32e
Pipeline
#11588
failed with stages
in 4 minutes and 40 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
350952ff
image
:
maven:latest
variables
:
MAVEN_CLI_OPTS
:
"
-s
.m2/settings.xml
--batch-mode"
MAVEN_OPTS
:
"
-Dmaven.repo.local=.m2/repository"
MAVEN_CLI_OPTS
:
"
--batch-mode"
GIT_SUBMODULE_STRATEGY
:
recursive
before_script
:
-
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
-
ARTIFACT=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)
cache
:
paths
:
-
.m2/repository/
-
target/
build
:
stage
:
build
script
:
-
rm -rf .m2/repository
-
mvn $MAVEN_CLI_OPTS clean compile
test
:
...
...
@@ -65,7 +58,7 @@ deploy:
mv *.deb ../target
~
/push_deb_packages.sh ../target
~/scripts
/push_deb_packages.sh ../target
fi
only
:
-
master
\ No newline at end of file
.m2/.gitkeep
deleted
100644 → 0
View file @
64a1d32e
.m2/settings.xml
deleted
100644 → 0
View file @
64a1d32e
<?xml version="1.0" encoding="UTF-8"?>
<settings
xsi:schemaLocation=
"http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"
xmlns=
"http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<servers>
<server>
<username>
${env.MAVEN_REPO_USER}
</username>
<password>
${env.MAVEN_REPO_PASS}
</password>
<id>
minfba-releases
</id>
</server>
<server>
<username>
${env.MAVEN_REPO_USER}
</username>
<password>
${env.MAVEN_REPO_PASS}
</password>
<id>
minfba-snapshots
</id>
</server>
</servers>
</settings>
\ No newline at end of file
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