Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-879

When using Docker registry with port and without version, an error is thrown

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.1
    • Component/s: None
    • Labels:
      None

      Description

      When using Docker registry with port and without version, an error is thrown. For example:
      In pipeline:
      buildInfo = artiDocker.push('docker-registry.com:457/jenkins/hello-world', 'docker-local')

      When you build, then the build will fail with:

      java.lang.StringIndexOutOfBoundsException: String index out of range: -5

        Attachments

          Activity

            People

            • Assignee:
              alexeiv Alexei Vainshtein
              Reporter:
              alexeiv Alexei Vainshtein
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: