Docker pipeline's “inside” not working in Jenkins slave running within Docker container

∥☆過路亽.° 提交于 2019-12-04 09:20:12

I've seen variations of this issue, also with the agents powered by the kubernetes-plugin.

I think that for it to work the agent/jnlp container needs to share workspace with the build container.

By build container I am referring to the one that will run the bundle install command.

This could be possibly work via withArgs

The question is why would you want to do that? Most of the pipeline steps are being executed on master anyway and the actual build will run in the build container. What is the purpose of also using an agent?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!