Skip to content
Snippets Groups Projects
Commit 22d72756 authored by OZGCloud's avatar OZGCloud
Browse files

Jenkins: push to nexus

parent 18f5e574
No related branches found
No related tags found
No related merge requests found
...@@ -93,6 +93,17 @@ pipeline { ...@@ -93,6 +93,17 @@ pipeline {
} }
} }
stage('Deploy to Nexus'){
steps {
script {
FAILED_STAGE = env.STAGE_NAME
}
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn -s $MAVEN_SETTINGS -DskipTests deploy -Dmaven.wagon.http.retryHandler.count=3'
}
}
}
stage('Deploy FormCycle Plugin to FC-server') { stage('Deploy FormCycle Plugin to FC-server') {
when { when {
anyOf { anyOf {
......
...@@ -227,4 +227,16 @@ ...@@ -227,4 +227,16 @@
<url>https://artifactory.xima-services.de/artifactory/fc-plugin-dev</url> <url>https://artifactory.xima-services.de/artifactory/fc-plugin-dev</url>
</pluginRepository> </pluginRepository>
</pluginRepositories> </pluginRepositories>
<distributionManagement>
<repository>
<id>ozg-nexus</id>
<name>ozg-releases</name>
<url>https://nexus.ozg-sh.de/repository/ozg-releases/</url>
</repository>
<snapshotRepository>
<id>ozg-snapshots-nexus</id>
<name>ozg-snapshots</name>
<url>https://nexus.ozg-sh.de/repository/ozg-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project> </project>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment