Commit 46012ea0 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Add artifactory settings for deployment in giessen artifactory

parent 6df65387
Pipeline #869 passed with stages
in 3 minutes and 14 seconds
...@@ -5,7 +5,7 @@ variables: ...@@ -5,7 +5,7 @@ variables:
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used # As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
# when running from the command line. # when running from the command line.
# `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins. # `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins.
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true" MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true --settings .mvn/artifactory-settings.xml"
# Cache downloaded dependencies and plugins between builds. # Cache downloaded dependencies and plugins between builds.
cache: cache:
......
<settings xmlns:profile="http://maven.apache.org/SETTINGS/1.0.0">
<profiles>
<profile>
<id>artifactory-giessen</id>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central-giessen</id>
<name>libs-release</name>
<url>https://artifactory.computational.bio.uni-giessen.de/artifactory/libs-release</url>
</repository>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
<id>snapshots-giessen</id>
<name>libs-snapshot</name>
<url>https://artifactory.computational.bio.uni-giessen.de/artifactory/libs-snapshot</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central-giessen</id>
<name>plugins-release</name>
<url>https://artifactory.computational.bio.uni-giessen.de/artifactory/plugins-release</url>
</pluginRepository>
<pluginRepository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
<id>snapshots-giessen</id>
<name>plugins-snapshot</name>
<url>https://artifactory.computational.bio.uni-giessen.de/artifactory/plugins-snapshot</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<servers>
<server>
<id>central-giessen</id>
<username>${env.ARTIFACTORY_USER}</username>
<password>${env.ARTIFACTORY_PASSWORD}</password>
</server>
<server>
<id>snapshots-giessen</id>
<username>${env.ARTIFACTORY_USER}</username>
<password>${env.ARTIFACTORY_PASSWORD}</password>
</server>
</servers>
<activeProfiles>
<activeProfile>artifactory-giessen</activeProfile>
</activeProfiles>
</settings>
\ No newline at end of file
Supports Markdown
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