Explorar o código

Jenkinsfile: zet go op path

Harry de Boer %!s(int64=8) %!d(string=hai) anos
pai
achega
a3d9526575
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Jenkinsfile

+ 2 - 0
Jenkinsfile

@@ -1,4 +1,6 @@
 node {
+    env.GOROOT="${tool 'go'}"
+    env.PATH="${env.GOROOT}/bin:${env.PATH}"
     stage('Build') {
         sh 'go build'
     }