Unable to deploy plugin

29 views
Skip to first unread message

Andrey Pohilko

unread,
Jul 6, 2016, 1:08:00 PM7/6/16
to Jenkins Developers
Hi,


I'm running "mvn release:prepare release:perform". And getting this:

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

I have ~/.m2/settings.xml file, tried to put put my plain password and encrypted password into it, nothing helps. The file has section is like this:

 <servers>
    <server>
      <id>maven.jenkins-ci.org</id>
      <username>undera</username>
      <password>***</password>
    </server>
    <server>
      <id>repo.jenkins-ci.org</id>
      <username>undera</username>
      <password>***</password>
    </server>
  </servers>

I followed all troubleshooting for 401 error and had no luck. Can anybody guide me?

Thanks,
Andrey

Daniel Beck

unread,
Jul 6, 2016, 2:16:57 PM7/6/16
to jenkin...@googlegroups.com
Looks like https://issues.jenkins-ci.org/browse/INFRA-588
> --
> 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-de...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f031ae60-e134-426e-bb2e-86de30cc8ce1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Andrey Pohilko

unread,
Jul 6, 2016, 5:45:42 PM7/6/16
to Jenkins Developers, m...@beckweb.net
I've tried to update parent dependency to 2.x, but whole bunch of compilation problems arise. It is too much for me, I just wanted to release small fixes.

I've tried other ideas from commits linked to INFRA-588 , but nothing changes. URL does not change to https, error is the same.

--
Andrey

среда, 6 июля 2016 г., 21:16:57 UTC+3 пользователь Daniel Beck написал:

Andrey Pohilko

unread,
Jul 6, 2016, 5:58:16 PM7/6/16
to Jenkins Developers, m...@beckweb.net
And right with the last attempt it worked :)))) 

Thanks for the pointer, it seems I'm good for now.

--
Andrey

четверг, 7 июля 2016 г., 0:45:42 UTC+3 пользователь Andrey Pohilko написал:
Reply all
Reply to author
Forward
0 new messages