Hi Chris,
I need your help here. I tried as you said but it did not worked for me
I want to clone my git repo into /opt/go/src/myproject directory where
(/opt/go is my GOPATH)
I tried the below way and it did not worked for me i am using alpine image
withEnv(['GOPATH=' + pwd()]){
d
Might be late to this question, but for anyone else whose searches came
here - I managed to get it to work like this:
withEnv(['GOPATH=' + pwd()]){
dir ('src/github.com/username') {
// insert git checkout here
sh 'go build -o $GOPATH/my-bin-fi
Also... do we know if they are working to fix the durable problem?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com
Yeah... I've played with that by setting the GOPATH to a different location
that I can write to, however... every time I use "dir() {}' It breaks
with the durable garbage. I am trying to use "dir" to do a "checkout scm"
into the GOPATH. It fails every time with the durable problem.
On Friday,
No, there isn't. There have been many people posting about coming to
grief by trying to work with the exact path to the workspace in
Pipeline. If your difficulty is that you can't write to /go on the root
level, can you set up an alternate location for GO, one that does not
depend on the worksp
It's adding this "@durable" stuff in there when I use "dir() {}". Is there
anyway to keep it from doing that?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Hi all -
I'm not a go (golang) developer, but the team that I support write their
services in go. I need to build a pipeline for go builds. However...
because of the strict pathing that go expects (/go/src/Y/Y/X), I'm having
a hard time making a pipeline that works. My problem is that I ne