Jenkins build setup for Go Projects
<p>We are planning to setup Jenkin Build process for Go Projects. I setup Custom Workspace in jenkins and installing go1.6 from "Global Tool Configuration".</p>

<p>I am getting error message while executing <code>go build</code>
Below is the GOPATH and GOROOT</p>

<pre><code>GOPATH /var/lib/jenkins/workspace/project/go
GOROOT  /var/lib/jenkins/workspace
</code></pre>

<hr>

<pre><code>ain.go:20:2: cannot find package "bytes" in any of:
    /var/lib/jenkins/workspace/src/pkg/bytes (from $GOROOT)
    /var/lib/jenkins/workspace/project/go/src/bytes (from $GOPATH)
</code></pre>

<p>What I am missing here?.. Thanks for your help..</p>