-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Blocker
-
Component/s: docker-commons-plugin
-
Environment:Jenkins 2.346.3
docker-commons-plugin 1.20
all required plugins are up to date/latest version
Â
since the last update to docker commons plugin (version 1.20), we are unable to use the withRegistry method properly.
steps to reproduce:
create a short script with:
Â
docker.image(<some recent version of docker in docker image>).inside
{
docker.withRegistry("some private registry url", "valid credentials to the private registry")
{
/// we never reach this part...
}
}
the script above yields the error:
Â
Error: cannot perform an interactive login from a non TTY device
downgrading docker commons plugin to version 1.19 solves the issue.
Â
I believe the problem is caused due to the (possibly) wrong implementation of --password-stdin in this line.
if more information is needed, please let me know and I will happily provide it.
Â