Please refer here: https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Workingaroundcommonissues. You should update the parent org.jenkins-ci.plugins version.
在 2016年11月8日星期二 UTC+8下午4:17:08,Christian写道: > > Hi, I have read > https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Workingaroundcommonissues > > and tried several different things but when I try to release a new plugin > version it always fail with: > > INFO] [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on > project claim: Failed to deploy artifacts: Could not transfer artifact > org.jenkins-ci.plugins:claim:hpi:2.9 from/to maven.jenkins-ci.org ( > http://maven.jenkins-ci.org:8081/content/repositories/releases): Connect > to maven.jenkins-ci.org:8081 [maven.jenkins-ci.org/199.193.196.24] > failed: Operation timed out -> [Help 1] > > I have a ~/.m2/settings.xml that looks like this: > > <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > > http://maven.apache.org/xsd/settings-1.0.0.xsd"> > > > <servers> > > <server> > > <id>maven.jenkins-ci.org</id> <!-- For parent 1.397 or newer; > before this use id java.net-m2-repository --> > > <username>ki82</username> > > <password>***************</password> > > </server> > > </servers> > > > </settings> > > > I have verified that my password works at > https://repo.jenkins-ci.org/webapp/#/login and I use the encrypted > password in the ~/m2/settings.xml > > I have executed the effective pom and verified that the id is correct. > > > Does anyone have any idea why this is failing for me? > > Is there any way to test the connection to maven.jenkins-ci.org without > doing an actual release? > > > > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d3c3d903-44cf-40c4-9ad8-5c5f8596bbde%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
