fogbugz subversion intergration problem

We recently were trying to integrate our subversion server with our new on demand fogbugz repository. We encountered a problem whereby the post-commit hook file and associated Perl script worked as expected when run manually from the command line, notifying fogbugz of the commit related to a specific bug. However when these scripts were executed automatically by subversion on an actual commit, the scripts were silently failing. We traced the bug to the logBugDataSVN.pl script. As mentioned in link the problem was that the path for wget was not being correctly set when subversion called the script. The fix was to edit logBugDataSVN.pl so that we explictly set $wget_path = “/usr/bin/wget”; instead of $weg_path = ‘which wget’;

Advertisements
%d bloggers like this: