SVN post-commit works via command line, but not when doing a svn commit
Hello,
I followed the instructions here (http://blog.massivemissive.com/?p=5) to configure the Lighthouse svn script (http://help.lighthouseapp.com/kb/api/scm-integration) and set up my post-commit file. I am able to successfully run the post-commit from the command line and update my Lighthouse ticket doing the following:
./post-commit /webdev/svnrep/project1/ 2096
How ever nothing happens when post-commit is executed via a svn commit command. Typically I run a commit command as follows:
svn commit webapp/home/index.html -m "Updated the footer [#5 state:resolved]"
Any idea why this is happening? I know my post-commit itself is working because I can get it to auto update my website using an svn update command. However the problem is the following line in post-commit not executing or failing:
/usr/bin/ruby /webdev/svnrep/project1/hooks/lighthouse.rb "$REPOS" "$REV"
Could it be an environment variable issue with the Lighthouse ruby script?
THANKS!
Discussions are closed to public comments.
If you need help with Lighthouse please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by Tiger Team on 03 Aug, 2011 03:34 PM
The file that we provide here - http://help.lighthouseapp.com/kb/api/scm-integration - should be named post-commit rather than lighthouse.rb. We've rewritten that since that article was written.
brandi closed this discussion on 29 Sep, 2011 05:11 PM.