I did release prepare & perform before changing any of this, where I had an explicit overwrite to maven.j.o. Now, seems that even after the change, whenever I'm doing release prepare, it still trying to access maven.j.o for uploading:
[INFO] --- maven-deploy-plugin:2.6:deploy (default-deploy) @ vmanager-plugin --- Uploading: http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jenkins-ci/plugins/vmanager-plugin/2.1/vmanager-plugin-2.1.hpi Uploading: http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jenkins-ci/plugins/vmanager-plugin/2.1/vmanager-plugin-2.1.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:17 min [INFO] Finished at: 2016-08-17T22:48:42+03:00 [INFO] Final Memory: 46M/499M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "jenkins-release" could not be activated because it does not exist. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on project vmanager-plugin: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:vmanager-plugin:hpi:2.1 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: Connection refused: connect -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException On Wednesday, August 17, 2016 at 10:51:08 PM UTC+3, Daniel Beck wrote: > > > > On 17.08.2016, at 21:27, Tal Yanai <[email protected] <javascript:>> > wrote: > > > > It's impacting my upload. > > > > I used to specify it directly in distributionManagement. I now removed > it, and updated to parent 2.6. I only use the global settings.xml and > don;t have this url there. All I have there is: > > > > <server> > > <id>maven.jenkins-ci.org</id> > > <privateKey>C:\Users\tyanai\.ssh\id_rsa</privateKey> > > <passphrase></passphrase> > > </server> > > > > Is there a different url I should change for? A different id? > > > > The ID is fine, and the 2.6 plugins plugin should work: > > https://github.com/jenkinsci/plugin-pom/blob/plugin-2.6/pom.xml#L750 > > What's the exact error message you're seeing? > > -- 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/363c42a2-9844-40da-aab0-ced05b67f206%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
