When I faced a 401 error when pushing to the central repo in the past it was regarding some settings.xml misconfiguration, maybe https://wiki.jenkins.io/display/JENKINS/Hosting+Plugins might help (see section HTTP 401 when transferring a file to the Jenkins Maven repository)
-- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/a8d22872-7770-457a-bd8c-9a2f2875e17d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.