From 86eda5fe65c337e0988dfdfc3554c2e2e6c3142d Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Tue, 9 Jun 2020 14:31:00 -0700 Subject: [PATCH] use `zerotier` as binary name for 2.0 --- Jenkinsfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fc9d15c90..db5cf8637 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -56,8 +56,8 @@ def buildStaticBinaries() { runtime.inside { dir("build") { sh 'make -j8 ZT_STATIC=1 all' - sh "mv zerotier-one zerotier-one-static-${platform}" - stash includes: 'zerotier-one-static-*', name: "static-${platform}" + sh "mv zerotier zerotier-static-${platform}" + stash includes: 'zerotier-static-*', name: "static-${platform}" } cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true } @@ -96,7 +96,7 @@ def packageStatic() { runtime.inside { dir("build") { unstash "static-${arch}" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one" + sh "mv zerotier-static-${arch} zerotier && chmod +x zerotier" sh "make redhat" sh "mkdir -p ${distro}" sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/" @@ -121,7 +121,7 @@ def packageStatic() { runtime.inside { dir("build") { unstash "static-${arch}" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one" + sh "mv zerotier-static-${arch} zerotier && chmod +x zerotier" sh "make redhat" sh "mkdir -p ${distro}" sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/" @@ -147,7 +147,7 @@ def packageStatic() { runtime.inside { dir("build/") { unstash "static-${arch}" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one" + sh "mv zerotier-static-${arch} zerotier && chmod +x zerotier" sh "make redhat" sh "mkdir -p ${distro}" sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/" @@ -181,7 +181,7 @@ def packageStatic() { sh "ls -la ." unstash "static-${arch}" sh "pwd" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one && file ./zerotier-one" + sh "mv zerotier-static-${arch} zerotier && chmod +x zerotier && file ./zerotier" sh "mv -f debian/rules.static debian/rules" sh "make debian" } @@ -215,7 +215,7 @@ def packageStatic() { sh "ls -la ." unstash "static-${arch}" sh "pwd" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one && file ./zerotier-one" + sh "mv zerotier-static-${arch} zerotier && chmod +x zerotier && file ./zerotier" sh "mv -f debian/rules.static debian/rules" sh "make debian" } @@ -246,7 +246,7 @@ def packageStatic() { runtime.inside { dir('build/') { unstash "static-${arch}" - sh "mv zerotier-one-static-${arch} zerotier-one && chmod +x zerotier-one && file ./zerotier-one" + sh "mv zerotier-static-${arch} zerotier && chmod +x zerotier && file ./zerotier" sh "mv -f debian/rules.wheezy.static debian/rules" sh "mv -f debian/control.wheezy debian/control" sh "make debian"