Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36913

ToolInstaller framework doesn't work with docker-pipeline

      The hudson.tools.ToolInstaller framework work in "docker.image('abc/def').inside{...}" because docker pipeline does not mount the /tools folder of the agent.

      This breaks the "Tool" pipeline step as well as plugins such as the withMaven{...} pipeline step.

      https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Maven+Plugin

          [JENKINS-36913] ToolInstaller framework doesn't work with docker-pipeline

          Jesse Glick added a comment -

          As designed. Use an image which includes the tools you want.

          Jesse Glick added a comment - As designed. Use an image which includes the tools you want.

          Patrick Wolf added a comment -

          The same issue and use-case were raised for the docker custom build environment plugin

          Patrick Wolf added a comment - The same issue and use-case were raised for the docker custom build environment plugin

          Ryan Campbell added a comment -

          Reopening because we should print an error message which provides better guidance to the user.

          Ryan Campbell added a comment - Reopening because we should print an error message which provides better guidance to the user.

          Jesse Glick added a comment -

          Not going to do that—too hard. Easier to make the tool installer work. But I do not want anyone using the resulting “fix”.

          Jesse Glick added a comment - Not going to do that—too hard. Easier to make the tool installer work. But I do not want anyone using the resulting “fix”.

            jglick Jesse Glick
            cleclerc Cyrille Le Clerc
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: