Explorar el Código

Обновить 'Jenkinsfile'

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

+ 1 - 1
Jenkinsfile

@@ -33,7 +33,7 @@ pipeline {
     stage("Generate zone-files") {
       steps {
         echo "generate ptr-zones"
-        sh '''serial=$(echo ${WORKSPACE}/SWARM_GIT_NAME/tags/bind.version)
+        sh '''serial=$(cat ${WORKSPACE}/SWARM_GIT_NAME/tags/bind.version)
               ${WORKSPACE}/generate_ptr.sh 201 ${serial}
               ${WORKSPACE}/generate_ptr.sh 204 ${serial}
               cat 201.168.192.in-addr.arpa.zone