-
Bug
-
Resolution: Unresolved
-
Minor
-
None
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).
[JENKINS-31608] Better support of DockerHub credentials
Workflow | Original: JNJira [ 167040 ] | New: JNJira + In-Review [ 182559 ] |