I have had a few questions on if it is possible to use Google Go on DEV@cloud when building - as it is isn’t obviously baked in.
Well you can, and it is easy. Create a freestyle job.
Download direct option:
The script I use is:
if [ ! -e $go_version.tar.gz ]
tar xf $go_version.tar.gz
This downloads the Go binary, if it isn’t already in the workspace (workspaces are cached, so most of the time it won’t have to do what is in the “if” block).
Once it is installed, the GOROOT and PATH are set - and away you, um… Go ;)
Go is one of the easiest things to install in the world (and the binaries it produces are statically linked so also easy to use).
This one uses the latest version of Go at the time of writing.
Use GVM option