Commit 350952ff authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

Migrating CI to winseda-nexus

parent 64a1d32e
Pipeline #11588 failed with stages
in 4 minutes and 40 seconds
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
<?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
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