Unauthorized on upload to http://repo.jenkins-ci.org/

30 views
Skip to first unread message

Mark Waite

unread,
Mar 6, 2016, 11:16:05 PM3/6/16
to Jenkins Developers
When I attempted to release a new version of the git client plugin today, the "mvn release:prepare release:perform" command failed with the message:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on project git-client: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:git-client:hpi:1.19.6 from/to maven.jenkins-ci.org (http://maven.jenkins-ci.org:8081/content/repositories/releases): Failed to transfer file: http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/git-client/1.19.6/git-client-1.19.6.hpi. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]

I checked my ~/.m2/settings.xml and ~/.m2/security-settings.xml and neither has changed in the last several releases I've successfully uploaded to repo.jenkins-ci.org.

I confirmed that I am able to login to https://repo.jenkins-ci.org/ (note, https there, rather than the http which is being attempted by the plugin).

Has there been a change to repo.jenkins-ci.org which requires a change in the pom.xml file (or the security-settings.xml)?

Thanks,
Mark Waite

Dan Alvizu

unread,
Mar 7, 2016, 1:49:33 AM3/7/16
to Jenkins Developers
Reply all
Reply to author
Forward
0 new messages