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.

Reply via email to