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

Pipeline "tool" w/ Docker inside { ... } still installs to the parent node

      When running something like

      node {
        docker.image('ubuntu').inside {
          def mvntool = tool name: "maven3.3.9", type: 'hudson.tasks.Maven$MavenInstallation'
          echo "Maven path: ${mvntool}"
        }
      }
      

      The Maven path in question is on the agent, not in the container. Which is reasonable, but inconvenient. Might we want to make sure the tools directory for the agent exists and is mapped into the container like the workspace is?

            jglick Jesse Glick
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: