Creating a plugin release returns 401 Unauthorized

52 views
Skip to first unread message

Fengtan

unread,
Aug 29, 2015, 8:15:39 PM8/29/15
to Jenkins Developers
I can't create a release for a plugin -- pushing it to the Jenkins infrastructure returns 401 Unauthorized: https://pastee.org/cmmfs


However I have verified that my password is correct, my creds are in ~/.m2/settings.xml and my pom looks good.

Here is my ~/.m2/settings.xml: https://pastee.org/ehw9b
Here is the plugin I am trying to release: https://github.com/jenkinsci/drupal-developer-plugin/.
I was able to create a release for another plugin a few weeks ago.

Any idea what could be wrong ?

Oleg Nenashev

unread,
Aug 30, 2015, 5:24:59 AM8/30/15
to Jenkins Developers, Jenkins INFRA group
Probably it was a temporary issue with Jenkins INFRA. Added the infra team to Cc

воскресенье, 30 августа 2015 г., 3:15:39 UTC+3 пользователь Fengtan написал:

Fengtan

unread,
Sep 3, 2015, 10:09:30 PM9/3/15
to Jenkins Developers, in...@lists.jenkins-ci.org
I have just tried again and am still unable to push the release to the Jenkins server: "401, ReasonPhrase: Unauthorized."

Any news about this ? Not sure what could be wrong. Alternatively, maybe someone else can publish the release on my behalf ?

Victor Martinez

unread,
Sep 4, 2015, 2:34:51 AM9/4/15
to Jenkins Developers, in...@lists.jenkins-ci.org
Hi,

Have you tried the below section yet?
 

Make sure PW encryption is correct:

Further details: https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Workingaroundcommonissues

Cheers

Fengtan

unread,
Sep 5, 2015, 2:36:45 AM9/5/15
to Jenkins Developers, in...@lists.jenkins-ci.org
@Victor yes I have just tried this and still have "401, ReasonPhrase: Unauthorized."

Fengtan

unread,
Sep 5, 2015, 2:50:23 AM9/5/15
to Jenkins Developers, in...@lists.jenkins-ci.org
Nevermind: turns out I was using Maven 2, and using Maven 3 fixed the problem.
I have updated the wiki page https://wiki.jenkins-ci.org/pages/editpage.action?pageId=18612226 in case this can be useful for someone else.
Many thanks for your help !
Reply all
Reply to author
Forward
0 new messages