Re: Jenkinsfile pipeline for go builds... need an example.

2017-02-17 Thread Tom Lester
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

Re: Jenkinsfile pipeline for go builds... need an example.

2017-02-17 Thread Tom Lester
27;t write to /go on the root level, can you set up > an alternate location for GO, one that does not depend on the workspace? > > On 2/17/2017 3:35 PM, Tom Lester wrote: > > It's adding this "@durable" stuff in there when I use "dir() {}". Is > there an

Re: Jenkinsfile pipeline for go builds... need an example.

2017-02-17 Thread Tom Lester
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

Jenkinsfile pipeline for go builds... need an example.

2017-02-17 Thread Tom Lester
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

Re: docker.inside or agnet {docker} executing as host user (jenkins) instead of the containers root

2017-02-17 Thread Tom Lester
Duh... that makes sense. -- 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. To view this discussion on the web visit

Re: docker.inside or agnet {docker} executing as host user (jenkins) instead of the containers root

2017-02-16 Thread Tom Lester
It also seems like my sh command are not running in the container. For example... If you see this Jenkins file: node { ECR_LOGIN = sh ( script: 'aws ecr get-login', returnStdout: true ).trim() sh "${ECR_LOGIN}" docker.image('129132148275.dkr.ecr.us-east-1.amazonaws.com/gobuild-base

Re: docker.inside or agnet {docker} executing as host user (jenkins) instead of the containers root

2017-02-16 Thread Tom Lester
Can I set the go path in the pipeline? Is it just a matter of an "sh" step. Or is there a more elegant way to pass that variable to the docker run? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop re

Re: docker.inside or agnet {docker} executing as host user (jenkins) instead of the containers root

2017-02-16 Thread Tom Lester
s { sh 'ps -ef' } } } } On Thursday, February 16, 2017 at 10:08:44 AM UTC-5, Tom Lester wrote: > > Hi all - > > I have a docker host. Jenkins ssh's (as the user jenkins) to this host > via pipeline steps and builds apps inside the specified docker image. Th

docker.inside or agnet {docker} executing as host user (jenkins) instead of the containers root

2017-02-16 Thread Tom Lester
Hi all - I have a docker host. Jenkins ssh's (as the user jenkins) to this host via pipeline steps and builds apps inside the specified docker image. This all pretty much flows as planned. However... when the pipeline executes a "docker.insdie" or via pipeline -> agent -> docker, the docker