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
No related branches found
No related tags found
No related merge requests found
...@@ -138,29 +138,31 @@ pipeline { ...@@ -138,29 +138,31 @@ pipeline {
} }
} }
stage('Deploy FormCycle Plugin to FC-server') { // Es sollte erstmal auskommentiert bleiben. Es kann man später als Beispiel für Deployment in Xima Cloud
when { // verwendet werden
anyOf { // stage('Deploy FormCycle Plugin to FC-server') {
branch 'master' // when {
} // anyOf {
} // branch 'master'
// }
steps { // }
script { //
FAILED_STAGE=env.STAGE_NAME // steps {
} // script {
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { // FAILED_STAGE=env.STAGE_NAME
// }
sh 'mvn --version' // configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
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' //
} // 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 // 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