Skip to content
Snippets Groups Projects
Commit 64dcf5c0 authored by OZGCloud's avatar OZGCloud
Browse files

[chore] disable deploy to formcycle server

parent de08d820
No related branches found
No related tags found
No related merge requests found
...@@ -138,29 +138,29 @@ pipeline { ...@@ -138,29 +138,29 @@ pipeline {
} }
} }
stage('Deploy FormCycle Plugin to FC-server') { // stage('Deploy FormCycle Plugin to FC-server') {
when { // when {
anyOf { // anyOf {
branch 'master' // branch 'master'
} // }
} // }
//
steps { // steps {
script { // script {
FAILED_STAGE=env.STAGE_NAME // FAILED_STAGE=env.STAGE_NAME
} // }
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { // configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
//
sh 'mvn --version' // 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' // 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 { // post {
always{ // always{
junit testResults: '**/target/surefire-reports/*.xml', skipPublishingChecks: true // 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