Browse Source

Jenkinsfile: zet go op path

Harry de Boer 8 years ago
parent
commit
a3d9526575
1 changed files with 2 additions and 0 deletions
  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'
     }