mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02:00
use zerotier
as binary name for 2.0
This commit is contained in:
parent
bc1fa3bf20
commit
86eda5fe65
1 changed files with 8 additions and 8 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -56,8 +56,8 @@ def buildStaticBinaries() {
|
||||||
runtime.inside {
|
runtime.inside {
|
||||||
dir("build") {
|
dir("build") {
|
||||||
sh 'make -j8 ZT_STATIC=1 all'
|
sh 'make -j8 ZT_STATIC=1 all'
|
||||||
sh "mv zerotier-one zerotier-one-static-${platform}"
|
sh "mv zerotier zerotier-static-${platform}"
|
||||||
stash includes: 'zerotier-one-static-*', name: "static-${platform}"
|
stash includes: 'zerotier-static-*', name: "static-${platform}"
|
||||||
}
|
}
|
||||||
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
|
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ def packageStatic() {
|
||||||
runtime.inside {
|
runtime.inside {
|
||||||
dir("build") {
|
dir("build") {
|
||||||
unstash "static-${arch}"
|
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 "make redhat"
|
||||||
sh "mkdir -p ${distro}"
|
sh "mkdir -p ${distro}"
|
||||||
sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/"
|
sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/"
|
||||||
|
@ -121,7 +121,7 @@ def packageStatic() {
|
||||||
runtime.inside {
|
runtime.inside {
|
||||||
dir("build") {
|
dir("build") {
|
||||||
unstash "static-${arch}"
|
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 "make redhat"
|
||||||
sh "mkdir -p ${distro}"
|
sh "mkdir -p ${distro}"
|
||||||
sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/"
|
sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/"
|
||||||
|
@ -147,7 +147,7 @@ def packageStatic() {
|
||||||
runtime.inside {
|
runtime.inside {
|
||||||
dir("build/") {
|
dir("build/") {
|
||||||
unstash "static-${arch}"
|
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 "make redhat"
|
||||||
sh "mkdir -p ${distro}"
|
sh "mkdir -p ${distro}"
|
||||||
sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/"
|
sh "cp -av `find ~/rpmbuild/ -type f -name \"*.rpm\"` ${distro}/"
|
||||||
|
@ -181,7 +181,7 @@ def packageStatic() {
|
||||||
sh "ls -la ."
|
sh "ls -la ."
|
||||||
unstash "static-${arch}"
|
unstash "static-${arch}"
|
||||||
sh "pwd"
|
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 "mv -f debian/rules.static debian/rules"
|
||||||
sh "make debian"
|
sh "make debian"
|
||||||
}
|
}
|
||||||
|
@ -215,7 +215,7 @@ def packageStatic() {
|
||||||
sh "ls -la ."
|
sh "ls -la ."
|
||||||
unstash "static-${arch}"
|
unstash "static-${arch}"
|
||||||
sh "pwd"
|
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 "mv -f debian/rules.static debian/rules"
|
||||||
sh "make debian"
|
sh "make debian"
|
||||||
}
|
}
|
||||||
|
@ -246,7 +246,7 @@ def packageStatic() {
|
||||||
runtime.inside {
|
runtime.inside {
|
||||||
dir('build/') {
|
dir('build/') {
|
||||||
unstash "static-${arch}"
|
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/rules.wheezy.static debian/rules"
|
||||||
sh "mv -f debian/control.wheezy debian/control"
|
sh "mv -f debian/control.wheezy debian/control"
|
||||||
sh "make debian"
|
sh "make debian"
|
||||||
|
|
Loading…
Add table
Reference in a new issue