Pārlūkot izejas kodu

Отключил staging

Tomishinets Vladimir 2 gadi atpakaļ
vecāks
revīzija
654e19efe5
1 mainītis faili ar 11 papildinājumiem un 11 dzēšanām
  1. 11 11
      Jenkinsfile

+ 11 - 11
Jenkinsfile

@@ -81,17 +81,17 @@ pipeline {
         }
       }
     }
-    stage("Staging test") {
-      steps {
-        script {
-          CONTAINER_ID_SERVER = sh (script: "docker run -d --rm -e mode=server --privileged ${DOCKER_IMAGE}:${SERIAL}", returnStdout: true).trim()
-          CONTAINER_ID_CLIENT = sh (script: "docker run -d --rm -e mode=client -e server=127.0.0.1 --privileged ${DOCKER_IMAGE}:${SERIAL}" , returnStdout: true).trim()
-          sh """docker exec -t ${CONTAINER_ID_CLIENT} ping -c 3 -q 10.10.20.1
-                if [ \$? != 0 ]; then exit 1; else echo 'OVPN_RSA is working!!!'; fi
-             """
-        }
-      }
-    }
+    // stage("Staging test") {
+    //   steps {
+    //     script {
+    //       CONTAINER_ID_SERVER = sh (script: "docker run -d --rm -e mode=server --privileged ${DOCKER_IMAGE}:${SERIAL}", returnStdout: true).trim()
+    //       CONTAINER_ID_CLIENT = sh (script: "docker run -d --rm -e mode=client -e server=127.0.0.1 --privileged ${DOCKER_IMAGE}:${SERIAL}" , returnStdout: true).trim()
+    //       sh """docker exec -t ${CONTAINER_ID_CLIENT} ping -c 3 -q 10.10.20.1
+    //             if [ \$? != 0 ]; then exit 1; else echo 'OVPN_RSA is working!!!'; fi
+    //          """
+    //     }
+    //   }
+    // }
     stage ("Tagging") {
       steps {
         script {