Skip to content
Snippets Groups Projects
Commit 215f92c0 authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'disable deploy to formcycle server' (#34) from...

Merge pull request 'disable deploy to formcycle server' (#34) from disable-deploy-to-formcycle into master

Reviewed-on: https://git.ozg-sh.de/ozgcloud-app/formcycle-plugin/pulls/34


Reviewed-by: default avatarOZGCloud <ozgcloud@mgm-tp.com>
parents de08d820 7c9e92ec
Branches
Tags
No related merge requests found
......@@ -138,29 +138,31 @@ pipeline {
}
}
stage('Deploy FormCycle Plugin to FC-server') {
when {
anyOf {
branch 'master'
}
}
steps {
script {
FAILED_STAGE=env.STAGE_NAME
}
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn --version'
sh 'mvn --no-transfer-progress -s $MAVEN_SETTINGS -P ci-build fc-deploy:deploy -DfcDeployUrl="https://formcycle.dev.ozg-sh.de/formcycle" -DfcDeployClientId="2" -DfcDeployToken=adminhase23 -DskipTests=true -Dmaven.wagon.http.retryHandler.count=3'
}
}
post {
always{
junit testResults: '**/target/surefire-reports/*.xml', skipPublishingChecks: true
}
}
}
// Es sollte erstmal auskommentiert bleiben. Es kann man später als Beispiel für Deployment in Xima Cloud
// verwendet werden
// stage('Deploy FormCycle Plugin to FC-server') {
// when {
// anyOf {
// branch 'master'
// }
// }
//
// steps {
// script {
// FAILED_STAGE=env.STAGE_NAME
// }
// configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
//
// sh 'mvn --version'
// sh 'mvn --no-transfer-progress -s $MAVEN_SETTINGS -P ci-build fc-deploy:deploy -DfcDeployUrl="https://formcycle.dev.ozg-sh.de/formcycle" -DfcDeployClientId="2" -DfcDeployToken=adminhase23 -DskipTests=true -Dmaven.wagon.http.retryHandler.count=3'
// }
// }
// post {
// always{
// junit testResults: '**/target/surefire-reports/*.xml', skipPublishingChecks: true
// }
// }
// }
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment