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

Better support of DockerHub credentials

XMLWordPrintable

      Today, to define DockerHub credentials, you have to define an empty url in docker.withRegistry('', 'my-dockerhub-credentials').

      It supports an empty string '' but not null.

      It would be nice to also support null: docker.withRegistry(null, 'my-dockerhub-credentials') and maybe to add a method such as docker.withRegistryCredentials(credentials).

            jglick Jesse Glick
            cleclerc Cyrille Le Clerc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: