From 64dcf5c0716bffec0d9b5ea3b37ac9d6de68a274 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Fri, 22 Nov 2024 14:41:04 +0100
Subject: [PATCH] [chore] disable deploy to formcycle server

---
 Jenkinsfile | 46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 371daee..53cba70 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -138,29 +138,29 @@ 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
-                }
-            }
-        }
+//         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
+//                 }
+//             }
+//         }
     }
 }
 
-- 
GitLab