Go v 1.8 jenkins
This commit is contained in:
parent
dcf637a5d7
commit
f173e070f0
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -1,7 +1,7 @@
|
|||||||
node('node') {
|
node('node') {
|
||||||
|
|
||||||
// Install the desired Go version
|
// Install the desired Go version
|
||||||
def root = tool name: 'Go 1.10', type: 'go'
|
def root = tool name: 'Go 1.8', type: 'go'
|
||||||
|
|
||||||
// Export environment variables pointing to the directory where Go was installed
|
// 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"]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user