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

Docker URL contains invalid version information

    XMLWordPrintable

Details

    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

          turin42 Christian Bauer created issue -
          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.

          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.
          albers Harald Albers added a comment -

          created PR #15

          albers Harald Albers added a comment - created PR #15
          albers Harald Albers made changes -
          Field Original Value New Value
          Assignee vjuranek [ vjuranek ] Harald Albers [ albers ]
          Priority Critical [ 2 ] Minor [ 4 ]
          albers Harald Albers made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          vjuranek vjuranek added a comment -

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

          vjuranek vjuranek added a comment - Should be fixed by PR #15, thanks to Harald Albers.
          vjuranek vjuranek made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 157539 ] JNJira + In-Review [ 195752 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: