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

Docker build step does not install docker tool nor provides a way to choose one

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Latest LTS Jenkins, latest docker-build-publish plugin, latest docker-commons plugin.
    • Similar Issues:

      Description

      When using Docker build and publish step with a docker tool configured globally:

      • there is no way to choose which Docker Tool installation to use
      • not any tool is ever installed

      The plugin has no references to the DockerTool whatsoever and uses hard-coded docker binay name instead of refering to DockerTool.getExecutable at https://github.com/jenkinsci/docker-commons-plugin/blob/0160e2b3ea862e9476c5d9be2d6cf66379ca6df8/src/main/java/org/jenkinsci/plugins/docker/commons/tools/DockerTool.java#L73

      See https://github.com/jenkinsci/docker-build-publish-plugin/blob/master/src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java#L344 for example

        Attachments

          Activity

          Show
          csanchez Carlos Sanchez added a comment - Fixed in https://github.com/jenkinsci/docker-build-publish-plugin/pull/41

            People

            Assignee:
            csanchez Carlos Sanchez
            Reporter:
            pupssman Ivan Kalinin
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: