mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02:00
remove centos6 from jenkinsfile
This commit is contained in:
parent
8bb0753f62
commit
78b18f2bdb
1 changed files with 1 additions and 31 deletions
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
|
@ -165,36 +165,6 @@ def getTasks(axisDistro, axisPlatform, task) {
|
||||||
def packageStatic() {
|
def packageStatic() {
|
||||||
def tasks = [:]
|
def tasks = [:]
|
||||||
|
|
||||||
def centos6 = ["centos6"]
|
|
||||||
def centos6Arch = ["i386", "amd64"]
|
|
||||||
tasks << getTasks(centos6, centos6Arch, { distro, arch ->
|
|
||||||
def myNode = {
|
|
||||||
node ('linux-build') {
|
|
||||||
env.PATH = env.PATH + ":/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/home/jenkins-build/go/bin"
|
|
||||||
dir ("build") {
|
|
||||||
checkout scm
|
|
||||||
}
|
|
||||||
def runtime = docker.image("ztbuild/${distro}-${arch}:latest")
|
|
||||||
runtime.inside {
|
|
||||||
dir("build") {
|
|
||||||
unstash "static-${arch}"
|
|
||||||
sh "mkdir -p build"
|
|
||||||
sh "mv zerotier-static-${arch} build/zerotier && chmod +x build/zerotier"
|
|
||||||
sh 'CMAKE_ARGS="-DPACKAGE_STATIC=1 -DZT_PACKAGE_FORMAT=RPM" make setup'
|
|
||||||
dir("build") {
|
|
||||||
sh 'make package'
|
|
||||||
}
|
|
||||||
sh "mkdir -p ${distro}"
|
|
||||||
sh "cp -av build/*.rpm ${distro}/"
|
|
||||||
archiveArtifacts artifacts: "${distro}/*.rpm", onlyIfSuccessful: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return myNode
|
|
||||||
})
|
|
||||||
|
|
||||||
def centos7 = ["centos7"]
|
def centos7 = ["centos7"]
|
||||||
def centos7Arch = ["i386"]
|
def centos7Arch = ["i386"]
|
||||||
tasks << getTasks(centos7, centos7Arch, { distro, arch ->
|
tasks << getTasks(centos7, centos7Arch, { distro, arch ->
|
||||||
|
|
Loading…
Add table
Reference in a new issue