Browse Source

Обновить 'Jenkinsfile'

Vladimir Tomishinets 7 years ago
parent
commit
bf36778d19
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -58,7 +58,7 @@ pipeline {
       steps {
         echo "Run ${DOCKER_IMAGE} in server mode."
         sh '''container_id_server=`docker run -d --rm -e "mode=server" \
-              --privileged -p 1194:1194/tcp ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${BUILD_NUMBER}`
+              --privileged ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${BUILD_NUMBER}`
               container_ip_server=`docker inspect ${container_id_server} --format='{{.NetworkSettings.IPAddress}}'`
               container_id_client=`docker run -d --rm -e "mode=client" -e "server=${container_ip_server}" --privileged ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${BUILD_NUMBER}`
               sleep 15