| Just ran into the same issue (Jenkins ver. 2.204.1) It looks like the plugin does not quote the arguments. In my case the password is actually a JSON file from google. So from a bash shell this does not work, it gives the same error message as I see in the jenkins logs from withDockerRegistry
However this works in the bash shell:
Note the usage of quotes ". I guess the plugin has similar problems when passing the arguments to the command line. |