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

Docker URL contains invalid version information

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The remote requests made by the docker-build-step plugin to the docker host have an invalid path, you get 404 response only.

      The plugin produces:

      http://my.docker.host:4243/v/xyz

      Valid request URIs would be:

      http://my.docker.host:4243/v1.14/xyz
      http://my.docker.host:4243/xyz

      Obviously the workaround is to specify a version number in the plugin configuration in the Advances settings.

        Attachments

          Activity

          Hide
          albers Harald Albers added a comment -

          Have you tried restarting Jenkins after changing the API version?

          Currently, the docker client is not properly updated after changes to its configuration. Some changes do apply at once, others require a Jenkins restart. I could reproduce your bungled URLs after removing a previously configured API version. After restarting Jenkins, valid URLs without any version string were produced.

          Show
          albers Harald Albers added a comment - Have you tried restarting Jenkins after changing the API version? Currently, the docker client is not properly updated after changes to its configuration. Some changes do apply at once, others require a Jenkins restart. I could reproduce your bungled URLs after removing a previously configured API version. After restarting Jenkins, valid URLs without any version string were produced.
          Hide
          albers Harald Albers added a comment -

          created PR #15

          Show
          albers Harald Albers added a comment - created PR #15
          Hide
          vjuranek vjuranek added a comment -

          Should be fixed by PR #15, thanks to Harald Albers.

          Show
          vjuranek vjuranek added a comment - Should be fixed by PR #15, thanks to Harald Albers.

            People

            • Assignee:
              albers Harald Albers
              Reporter:
              turin42 Christian Bauer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: