I have created ssh keys with this tutorial : 
https://help.github.com/articles/generating-ssh-keys

And followed this tutotial 
https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins

I'm in the case that i have different login/password  for my GitHub and 
jenkins-ci.org accounts i added in the settings.xml file 

<servers>
>     <server>
>       <id>maven.jenkins-ci.org</id> 
>       <username> jenkins-ci.org account name  </username>
>       <password> jenkins-ci.org account pass </password>
>     </server>
>     
>   </servers>


and stared an ssh agent ans imported the generated key 

eval `ssh-agent`
> ssh-add  /Users/joachimrodrigues/.ssh/id_rsa


but when trying to release i always get this error : 

ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.2.2:prepare (default-cli) 
> on project graphiteIntegrator: Unable to tag SCM
> [ERROR] Provider message:
> [ERROR] The git-push command failed.
> [ERROR] Command output:
> [ERROR] Permission denied (publickey).
> [ERROR] fatal: The remote end hung up unexpectedly
> [ERROR] -> [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/MojoFailureException



somebody has already met this error ?

Thanks

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to