Hi,
My use case is the following: I have a Go repository that has to be build and deployed on a target server.
I've had 0 issue with a yarn and npm projects (both installed on the target server).
Although I have installed Go (I mean Golang 1.17.3) on the target server, GoCD persist on returning:
go build took: 0.2sError happened while attempting to execute 'go build'.
Please make sure [go] can be executed on this agent.
[Debug Information] Environment variable PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
I've tried to add the path on the environment variables or even add steps to install Go(lang) during the GoCD steps but it seems overly complicated.
Has anyone successfully run a GoCD pipeline with Golang?
Many thanks.