Explorar o código

fix mac jenkins

Grant Limberg %!s(int64=5) %!d(string=hai) anos
pai
achega
7d388e0c79
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

@@ -38,7 +38,7 @@ pipeline {
 }
 }
 
 
 def buildMacOS() {
 def buildMacOS() {
-    tasks << getTasks({ ->
+    tasks << getTasks(['mac'],['amd64'], {unused1, unused2 ->
         def myNode = {
         def myNode = {
             node ('mac') {
             node ('mac') {
                 dir("build") {
                 dir("build") {
@@ -48,6 +48,7 @@ def buildMacOS() {
                 }
                 }
             }
             }
         }
         }
+        return myNode
     })
     })
     return tasks
     return tasks
 }
 }