Explorar el Código

Jenkinsfile: zet go op path

Harry de Boer hace 8 años
padre
commit
a3d9526575
Se han modificado 1 ficheros con 2 adiciones y 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'
     }