Hi Esteban,

I used https instead of ssh successfully for the teamconcert plugin.

        <scm>
                
<connection>scm:git:https://github.com/jenkinsci/teamconcert-plugin.git</connection>
                
<developerConnection>scm:git:https://github.com/jenkinsci/teamconcert-plugin.git</developerConnection>
                <url>https://github.com/jenkinsci/teamconcert-plugin</url>
        </scm>

https://github.com/jenkinsci/teamconcert-plugin/blob/master/com.ibm.team.build.hjplugin/pom.xml


Maybe that will work for you,
Scott


On Monday, May 6, 2013 1:22:04 PM UTC-4, Esteban Angee wrote:
>
>  Hello, 
>
> I'm trying to release my plugin without any luck so far. I have followed 
> all steps listed here 
> https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins but I get the 
> build error you see below. As the link mentions, my jenkins-ci username and 
> github username are different, but I have already added my public key to 
> Github and started a ssh-agent and the outcome is the same. 
>
> The following line shows that it is trying to push a tag to my github 
> account but with wrong credentials:
> [INFO] Executing: /bin/sh -c cd 
> /home/esteban/Workspaces/Jenkins-Sonargraph-plugin/sonargraph-plugin && git 
> push 
> ssh://[email protected]/jenkinsci/sonargraph-plugin.git<javascript:>sonargraph-plugin-1.0
>
> It is pushing with the jenkins-ci username stored in the settings.xml
>
> Any Ideas on how to solve this?
>
> esteban@esteban-VirtualBox:~/Workspaces/Jenkins-Sonargraph-plugin/sonargraph-plugin$
>  
> mvn release:prepare release:perform
> [INFO] Scanning for projects...
> [INFO]                                                                        
>  
>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Sonargraph Plugin 1.0
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-release-plugin:2.2.2:prepare (default-cli) @ 
> sonargraph-plugin ---
> [INFO] Resuming release from phase 'scm-tag'
> [INFO] Tagging release with the label sonargraph-plugin-1.0...
> [INFO] Executing: /bin/sh -c cd 
> /home/esteban/Workspaces/Jenkins-Sonargraph-plugin/sonargraph-plugin && git 
> tag -F /tmp/maven-scm-1942063480.commit sonargraph-plugin-1.0
> [INFO] Working directory: 
> /home/esteban/Workspaces/Jenkins-Sonargraph-plugin/sonargraph-plugin
> [INFO] Executing: /bin/sh -c cd 
> /home/esteban/Workspaces/Jenkins-Sonargraph-plugin/sonargraph-plugin && git 
> push 
> ssh://[email protected]/jenkinsci/sonargraph-plugin.git<javascript:>sonargraph-plugin-1.0
> [INFO] Working directory: 
> /home/esteban/Workspaces/Jenkins-Sonargraph-plugin/sonargraph-plugin
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 5.084s
> [INFO] Finished at: Mon May 06 12:16:04 COT 2013
> [INFO] Final Memory: 11M/146M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.2.2:prepare (default-cli) 
> on project sonargraph-plugin: 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
>
> -- 
> Esteban Angee Agudelo
> Software Engineer
> hello2morrow S.A.S
> (574)[email protected] 
> <javascript:>http://www.hello2morrow.com
>
>  

-- 
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