소스 검색

ensure go is in the PATH for jenkins builds

Grant Limberg 5 년 전
부모
커밋
c537955c65
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

@@ -7,6 +7,9 @@ pipeline {
     parameters {
         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