Explorar el Código

Обновить 'Jenkinsfile'

Vladimir Tomishinets hace 6 años
padre
commit
fb6b31553c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -86,7 +86,7 @@ pipeline {
       steps {
         script {
           echo "Check Prod-like cluster status"
-          sh "echo -n \${SERIAL} > ../\${SWARM_GIT_NAME}/tags/\${DOCKER_IMAGE}.version"
+          sh "echo -n \${SERIAL} > \${SWARM_GIT_NAME}/tags/\${DOCKER_IMAGE}.version"
           sh """cd \${SWARM_GIT_NAME}/\${DOCKER_IMAGE}
                 DOCKER_HOST=tcp://${CLUSTERS.get((ENAMES[1]))}:2376 DOCKER_TLS_VERIFY=1 ./ovpn-rsa-open-staging.sh
              """