I am using github.com/sparrc/go-ping
library , while I posted it in gerrit, jenkins posted -1
and complains cannot find package "github.com/sparrc/go-ping" in any of:
How can I overcome this?
Assuming GOPATH
is correctly set in your Jenkins server. You have to do go get github.com/sparrc/go-ping
before doing the go build.