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

          Cyrille Le Clerc created issue -

          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.
          Jesse Glick made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173666 ] New: JNJira + In-Review [ 199480 ]

          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
          Patrick Wolf made changes -
          Link New: This issue is related to JENKINS-29410 [ JENKINS-29410 ]

          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.
          Ryan Campbell made changes -
          Resolution Original: Won't Fix [ 2 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

          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”.
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal CD-189 (Web Link)" [ 18947 ]

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

              Created:
              Updated: