add freebsd build target

This commit is contained in:
Grant Limberg 2020-06-18 15:26:29 -07:00
parent f989758159
commit a66b4a6f5e
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A

20
Jenkinsfile vendored
View file

@ -23,6 +23,7 @@ pipeline {
tasks << buildCentosNative()
tasks << buildMacOS()
tasks << buildWindows()
tasks << buildFreeBSD()
parallel tasks
}
@ -47,8 +48,8 @@ def buildMacOS() {
dir("build") {
checkout scm
sh 'make'
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
}
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
}
}
return myNode
@ -87,6 +88,23 @@ def buildWindows() {
return tasks
}
def buildFreeBSD() {
def tasks = [:]
tasks << getTasks(['freebsd12'], ['amd64'], { unused, unused ->
def myNode = {
node ('freebsd12') {
dir('build') {
checkout scm
sh 'make'
}
cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
}
}
return myNode
})
return tasks
}
def buildStaticBinaries() {
def tasks = [:]
def dist = ["alpine"]