When I tried to run the Pipeline, the build is failing at the testing stage, below is the instruction at the testing stage
sh 'go test ./...'
the error output is below
+ go test ./...
/var/lib/jenkins/workspace/kk-go-webapp@tmp/durable-6f6b96d2/script.sh: 1: go: not found
Added info:
I’m trying to build an automated pipeline to deploy “go-webapp-sample” from github
git link: GitHub - kodekloudhub/go-webapp-sample: golang, echo, gorm