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