echos for path

This commit is contained in:
Dennis Coyle 2018-04-26 09:04:15 -04:00
parent 6fd6de1013
commit 8f84a9be91

4
Jenkinsfile vendored
View File

@ -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
"""