-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maven:3.3 no longer useable, as-is, in docker.inside from jenkins docker pipeline #16
Comments
Running this in a Jenkins 2 instance I am able to pause the run and see this from the container logs:
This relates to the ill-fated decision to make |
This fails in my live Jenkins 1.x LTS series instance as well in the latest, as of today, Jenkins 2.x LTS series. |
Isn't this caused by jenkinsci/docker-workflow-plugin#25 In the meantime you can use a explicit version of the image, getting it with
i.e.
|
@carlossg the thing with tags is they are expressive whereas image digests are not. I realize that this allows for some movement underneath in the same way that a branch in git is merely a human-readable label representing the tip of a development stream. I accept that a tag is not a static thing. That being said, the behavior of an official image should not change so drastically as to introduce backwards-incompatible breakage such as this one has. The baseline example of using
As for jenkinsci/docker-workflow-plugin#25 and jenkinsci/docker-workflow-plugin#57 which purports to fix it: I see more value in the build output (from the workspace injected into the container) being r/w by the account that initiated the in-container "build" than in accommodating images/containers that only function correctly when run as root. I am perplexed as to why the latter seems to be favored over the former. |
#18 is merged |
jenkinsci/docker-workflow-plugin#63 should have solved this without an image change. |
Sample Code:
The 3.2 stage runs just fine but the 3.3 stage fails with:
This used to work. In my opinion this kind of breakage is unacceptable and is the direct result of this image being far too opinionated (doing too much at startup).
This problem was originally identified in #14 which seems to have been summarily dismissed. Please reconsider.
The text was updated successfully, but these errors were encountered: