|
@@ -21,7 +21,8 @@ pipeline {
|
|
tasks << buildStaticBinaries()
|
|
tasks << buildStaticBinaries()
|
|
tasks << buildDebianNative()
|
|
tasks << buildDebianNative()
|
|
tasks << buildCentosNative()
|
|
tasks << buildCentosNative()
|
|
-
|
|
|
|
|
|
+ tasks << buildMacOS()
|
|
|
|
+
|
|
parallel tasks
|
|
parallel tasks
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -36,6 +37,21 @@ pipeline {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+def buildMacOS() {
|
|
|
|
+ tasks << getTasks({ ->
|
|
|
|
+ def myNode = {
|
|
|
|
+ node ('mac') {
|
|
|
|
+ dir("build") {
|
|
|
|
+ checkout scm
|
|
|
|
+ sh 'make'
|
|
|
|
+ cleanWs deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ return tasks
|
|
|
|
+}
|
|
|
|
+
|
|
def buildStaticBinaries() {
|
|
def buildStaticBinaries() {
|
|
def tasks = [:]
|
|
def tasks = [:]
|
|
def dist = ["alpine"]
|
|
def dist = ["alpine"]
|