Browse Source

rename error for static

Grant Limberg 5 years ago
parent
commit
49eefe7e78
1 changed files with 4 additions and 2 deletions
  1. 4 2
      Jenkinsfile

+ 4 - 2
Jenkinsfile

@@ -56,8 +56,10 @@ def buildStaticBinaries() {
                 runtime.inside {
                     dir("build") {
                         sh 'make -j8 ZT_STATIC=1 all'
-                        sh "mv zerotier zerotier-static-${platform}"
-                        stash includes: 'zerotier-static-*', name: "static-${platform}"
+                        dir("build") {
+                            sh "mv build/zerotier zerotier-static-${platform}"
+                            stash includes: 'zerotier-static-*', name: "static-${platform}"
+                        }
                     }
                     cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
                 }