Explorar o código

Обновить 'Jenkinsfile'

Vladimir Tomishinets %!s(int64=7) %!d(string=hai) anos
pai
achega
f3a13a75f8
Modificáronse 1 ficheiros con 1 adicións e 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