Ver Fonte

Jenkinsfile: zet go op path

Harry de Boer há 8 anos atrás
pai
commit
a3d9526575
1 ficheiros alterados com 2 adições e 0 exclusões
  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'
     }