Parcourir la source

Jenkinsfile: zet go op path

Harry de Boer il y a 8 ans
Parent
commit
a3d9526575
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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'
     }