diff --git a/Jenkinsfile b/Jenkinsfile index 371daee1f7559fe59cc10206329951955ad9d036..bd967d062615664ee895d70e507bf4878dba138e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 +// } +// } +// } } }