找不到预接收钩子.cqg1_configs / cip_service_pre-receive-hook.yml

时间:2019-06-25 06:31:02

标签: git github

我们有一个私有存储库,当我今天尝试推送一个新分支时,遇到了以下错误。为了确保我的特定计算机上是否存在某些配置问题,我尝试从另一台计算机上推送新分支,但最终出现类似错误。

pre-receive hook declined
pre_receive_hook.py: failed with exit status 1
No .cqg1_configs/cip_service_pre-receive-hook.yml found. Using default config.
Checking branch my_branch_name
ERROR:  The branch name "my_branch_name" is not allowed:
    Use one of the following instead:
    - feature/<jira id>/someName
    - release/<major number>.<minor number>.x
    - sandbox/someName

有人遇到这个问题或有人对此有任何解决方案吗?

1 个答案:

答案 0 :(得分:0)

最后我找到了问题。

在访问GitHub页面中的Settings ---> Hooks选项卡时,我看到Web Hook服务器正在显示错误消息*"Last delivery was not successful. Couldn't connect to server"*,如下图所示。我们修复了服务器问题,能够提交并推送分支。

Web hook error