echos for path
This commit is contained in:
parent
6fd6de1013
commit
8f84a9be91
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user