Not able to release plugin using maven

29 views
Skip to first unread message

Rishi Saraf

unread,
Jul 23, 2015, 11:18:45 AM7/23/15
to Jenkins Developers
Hello,

Whenever I am trying to release my plugin using below command my build is failing with no address associated with name. Can someone tell what the problem.


mvn release:prepare release:perform -Dusername=rishisaraf11 -Dpassword=xxxxx


[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.503s
[INFO] Finished at: Thu Jul 23 20:36:20 IST 2015
[INFO] Final Memory: 15M/307M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli) on project vmware-vrealize-codestream-plugin: Unable to tag SCM
[ERROR] Provider message:
[ERROR] The git-push command failed.
[ERROR] Command output:
[ERROR] ssh: rishisaraf11: no address associated with name
[ERROR] fatal: The remote end hung up unexpectedly
[ERROR] -> [Help 1]
[ERROR]

Regards
Rishi Saraf

Christopher Orr

unread,
Jul 23, 2015, 11:45:24 AM7/23/15
to jenkin...@googlegroups.com
One problem is that your artifact ID is incorrect; it should not end
with "-plugin".
https://github.com/jenkinsci/vmware-vrealize-codestream-plugin/blob/cf2cd00/pom.xml#L13
https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Prerequisites

Otherwise, the POM looks ok, and the commit history shows that you
managed to run prepare earlier today successfully...

Are you sure you have a clean checkout? Do you have anything weird in
your .ssh/config file that would prevent you from reaching github.com?
Or any other config, aliases or environment variables set that would
somehow use your username "rishisaraf11" instead of a hostname?

Regards,
Chris


On 23/07/15 17:18, Rishi Saraf wrote:
> Hello,
>
> Whenever I am trying to release my plugin
> <https://github.com/jenkinsci/vmware-vrealize-codestream-plugin>using
> below command my build is failing with no address associated with name.
> Can someone tell what the problem.
>
>
> *mvn release:prepare release:perform -Dusername=rishisaraf11
> -Dpassword=xxxxx*

Rishi Saraf

unread,
Jul 23, 2015, 11:53:44 AM7/23/15
to Jenkins Developers, ch...@orr.me.uk
Thanks Chris. I think my checkout is clean and I can push changes using username rishisaraf11.
Reply all
Reply to author
Forward
0 new messages