post-commit hook produces error on svn commit but works when run on manually on command line

浪子不回头ぞ 提交于 2019-12-02 10:17:16
Sameer Singh

There could be many possible reasons why your hook isn't firing:

  • For security reasons, Subversion hook scripts are run without any environment variables being set. So, set the environment variables in the hook, and use absolute paths for running applications
  • Network drive mappings are user specific. Ensure that the drives exist for the user account under which the SVN server is running
  • Hooks don't execute from the hooks/ folder, they execute from the root server's folder

More info:

Hope this helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!