From 8f84a9be91382953ab1b3e4801705b9ea18e49fd Mon Sep 17 00:00:00 2001 From: Dennis Coyle Date: Thu, 26 Apr 2018 09:04:15 -0400 Subject: [PATCH] echos for path --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 647c09116..8eab7d797 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ node('node') { def root = tool name: 'Go 1.10', type: 'go' // Export environment variables pointing to the directory where Go was installed - withEnv(["GOROOT=${root}", "PATH+GO=${root}/bin"]) { + withEnv(["GOROOT=${root}", "PATH+GO=${root}/bin", "PATH=$PATH:${root}/bin"]) { sh 'go version' } try { @@ -17,6 +17,8 @@ node('node') { sh """#!/bin/bash -e echo $root + echo "path=" + echo $PATH make build-dev-deps lint """