Browse Source

ensure go is in the PATH for jenkins builds

Grant Limberg 5 years ago
parent
commit
c537955c65
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

@@ -7,6 +7,9 @@ pipeline {
     parameters {
     parameters {
         booleanParam(name: "BUILD_ALL", defaultValue: false, description: "Build all supported platform/architecture combos.  Defaults to x86/x64 only")
         booleanParam(name: "BUILD_ALL", defaultValue: false, description: "Build all supported platform/architecture combos.  Defaults to x86/x64 only")
     }
     }
+    environment {
+        PATH = "$PATH:/usr/local/go/bin:$HOME/go/bin"
+    }
     
     
     agent none
     agent none