The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[remote rejected] master -> master (pre-receive hook declined)

Software Asset Management
October 17, 2016

We are getting below error while pushing the changes into Bitbucket Respository.

[remote rejected] master -> master (pre-receive hook declined) 


We are pushing changes using service account and this account has exemption to Push the changes without pull request.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Adam
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 17, 2016

You'll probably need to provide more information for anyone to be able to help you. "pre-receive hook declined" means there is some hook (possibly from a BBS plugin, possibly a hook from core) that has explicitly decided your push is not allowed. It's pretty generic and doesn't tell us which one prevented it or why. The hooks usually print a message to the Git client with a reason.

The message in the Git client should generally include more information, but worst case you might want to look at your server logs to see if there is anything logged when this happens.

If you can't find help here, I'd suggest heading to https://support.atlassian.com and asking our Support Engineers for assistance. They will ask you to generate a Support Zip of your instance (logs and configuration information) and will be able to diagnose the problem a bit better with that info.

TAGS
AUG Leaders

Atlassian Community Events