[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title Kohsuke Kawaguchi commented on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT Since Jesse is rather terse in his comment, what he really means is that the regression people reported is currently tracked as JENKINS-39748, so if you are affected by this, please follow that issue. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title Jesse Glick resolved as Fixed The originally filed issue was fixed with the specified commit. Please do not reopen. Jenkins / JENKINS-37987 Image.inside fails for images specifying ENTRYPOINT Change By: Jesse Glick Status: Reopened Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options,
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title James Hogarth edited a comment on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT Reopening to track as it breaks people's workflow...There is a fresh PR to add Image.exec() {} to provide access to am inside() style behaviour without the ENTRYPOINT override Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title James Hogarth reopened an issue Reopening to track as it breaks people's workflow Jenkins / JENKINS-37987 Image.inside fails for images specifying ENTRYPOINT Change By: James Hogarth Resolution: Fixed Status: Resolved Reopened Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title James Hogarth edited a comment on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT It's not much nicer but as a workaround you can do: {code:java} def container = docker.image(' thinggoeshere ').withRun('--') { con -> sh "docker exec ${container.id} "} {code} This then has the same behavior as docker.image().inside() as before with ENTRYPOINT being executed (so things like systemd or a similar reaper will run) ...There's also JENKINS-26178 of course to be able to exec in a running container which would work around this, if it gets implemented. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title James Hogarth edited a comment on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT It's not much nicer but as a workaround you can do:{code:java} def container = docker.image('').withRun('--') { con -> sh "docker exec ${ container con .id} "}{code}This then has the same behavior as docker.image().inside() as before with ENTRYPOINT being executed (so things like systemd or a similar reaper will run) ...There's also JENKINS-26178 of course to be able to exec in a running container which would work around this, if it gets implemented. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title James Hogarth commented on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT It's not much nicer but as a workaround you can do: def container = docker.image('thinggoeshere').withRun('--') { con -> sh "docker exec $ {container.id} " } This then has the same behavior as docker.image().inside() as before with ENTRYPOINT being executed (so things like systemd or a similar reaper will run) ... There's also JENKINS-26178 of course to be able to exec in a running container which would work around this, if it gets implemented. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title Sergey Zhemzhitsky edited a comment on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT [~jglick], I completely agree with [~labisso] and [~lsglick]. With this fix now it's hardly possible to use custom images with default entrypoint that is required to run. We had to migrate from {code:none}docker.image().inside(opts) { sh ' " ' " }{code}... with its pretty neat syntax to ugly custom shell scripts{code:none} sh " docker run --rm -t -e ... " {code} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title Sergey Zhemzhitsky commented on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT Jesse Glick, I completely agree with David LaBissoniere and Logan Glickfield. With this fix now it's hardly possible to use custom images with default entrypoint that is required to run. We had to migrate from docker.image().inside(opts) { sh '' } ... with its pretty neat syntax to ugly custom shell scripts docker run --rm -t -e ... Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title Logan Glickfield commented on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT Jesse Glick: I agree with David LaBissoniere and am having trouble using any image now that specifies an ENTRYPOINT in the dockerfile. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title David LaBissoniere commented on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT This change has caused problems for us. We use images with ENTRYPOINT that run some processes, and then use the inside commands to drive tests against those processes. With this change, our entrypoints are forcibly replaced with cat and our processes don't run. Perhaps the entry point could be configurable for inside? Like it now is for Image.withRun. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title Jesse Glick updated JENKINS-37987 Jenkins / JENKINS-37987 Image.inside fails for images specifying ENTRYPOINT Change By: Jesse Glick Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title SCM/JIRA link daemon commented on JENKINS-37987 Re: Image.inside fails for images specifying ENTRYPOINT Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java src/test/java/org/jenkinsci/plugins/docker/workflow/DockerDSLTest.java src/test/java/org/jenkinsci/plugins/docker/workflow/client/DockerClientTest.java http://jenkins-ci.org/commit/docker-workflow-plugin/5b0586d6bd87fc4f108693ee9361252a24eb37d1 Log: [FIXED JENKINS-37987] Override ENTRYPOINT, not just command, for WithContainerStep. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title Jesse Glick updated JENKINS-37987 Jenkins / JENKINS-37987 Image.inside fails for images specifying ENTRYPOINT Change By: Jesse Glick Status: In Progress Review Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title Jesse Glick started work on JENKINS-37987 Change By: Jesse Glick Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37987) Image.inside fails for images specifying ENTRYPOINT
Title: Message Title Jesse Glick created an issue Jenkins / JENKINS-37987 Image.inside fails for images specifying ENTRYPOINT Issue Type: Bug Assignee: Jesse Glick Components: docker-workflow-plugin Created: 2016/Sep/06 2:11 PM Priority: Major Reporter: Jesse Glick Alvaro Lobato found that inside fails with a cryptic error when trying to run images specifying ENTRYPOINT. For example this causes this to fail, which is confusing since for purposes of using Image.inside it makes no sense to be running copy_reference_files and associated code; the way this image is normally designed to work for command-line execution is inappropriate. Add Comment