Re: Pushing Git tags back to origin
https://wiki.jenkins-ci.org/download/attachments/65143385/Screen+Shot+2012-10-26+at+12.26.13.png?version=1&modificationDate=1351250826000 On 20 November 2014 03:48, youhour wrote: > Any idea how that is done? I have been searching on how to do this but has > no luck... Thanks in advance. > > I was looking at the git repository checkbox in Jenkins project, it has an > input selection for "Credential" I select it to use my login id credential > (which suppose to have all the authorities need for push). That does not > work. > > The next thing I will try is to set the "Name" and "Refspec" for the git > Repository checkbox. > > > > > -- > View this message in context: > http://jenkins-ci.361315.n4.nabble.com/Pushing-Git-tags-back-to-origin-tp2274148p4728593.html > Sent from the Jenkins users mailing list archive at Nabble.com. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Pushing Git tags back to origin
Any idea how that is done? I have been searching on how to do this but has no luck... Thanks in advance. I was looking at the git repository checkbox in Jenkins project, it has an input selection for "Credential" I select it to use my login id credential (which suppose to have all the authorities need for push). That does not work. The next thing I will try is to set the "Name" and "Refspec" for the git Repository checkbox. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Pushing-Git-tags-back-to-origin-tp2274148p4728593.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Pushing Git tags back to origin
when Jenkins does the checkout it does it keeping the credentials isolated from the actual build, so you might need to use the ssh-agent plugin to inject the credentials that can be used to do the push back into the build's environment On 18 November 2014 15:26, youhour wrote: > When I'm using this same id to clone, I was able to create and push the tag > without any issue. Only have issue when trying to do from Jenkins. > > > > > -- > View this message in context: > http://jenkins-ci.361315.n4.nabble.com/Pushing-Git-tags-back-to-origin-tp2274148p4728284.html > Sent from the Jenkins users mailing list archive at Nabble.com. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: Pushing Git tags back to origin
When I'm using this same id to clone, I was able to create and push the tag without any issue. Only have issue when trying to do from Jenkins. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Pushing-Git-tags-back-to-origin-tp2274148p4728284.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: Pushing Git tags back to origin
Does the exact same command work when you run it yourself on the build machine, using the same account as the build machine? Terry -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of youhour Sent: Tuesday, November 18, 2014 8:34 AM To: jenkinsci-users@googlegroups.com Subject: Re: Pushing Git tags back to origin I included "git push --tags" into my script and I still get the same error as "git push origin --tags" >Pushing tags to remote server >fatal: Upload denied for project 'bb' >fatal: The remote end hung up unexpectedly Any thought how I can find out why remote server rejected? My other option is to use "Git publisher". The reason I did not want to try that yet, because my script will return success even it does not do a build because the condition is not met. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Pushing-Git-tags-back-to-origin-tp2274148p4728272.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Pushing Git tags back to origin
I included "git push --tags" into my script and I still get the same error as "git push origin --tags" >Pushing tags to remote server >fatal: Upload denied for project 'bb' >fatal: The remote end hung up unexpectedly Any thought how I can find out why remote server rejected? My other option is to use "Git publisher". The reason I did not want to try that yet, because my script will return success even it does not do a build because the condition is not met. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Pushing-Git-tags-back-to-origin-tp2274148p4728272.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.