Hey, just thought I'd bump this with what I've attempted.

I found the TH1 manual linked to in the wiki. I couldn't find a reference for which commands Fossil includes, so I grepped through the source and read parts of th_main.c. After doing so, it looks like TH1 won't give me the ability to hit a URL after a repository is pushed to. If I can fetch a URL, I can tell my Jenkins CI server that a new commit was pushed, triggering rebuilds/redeploys.

The config has a setting to enable TCL. Is there any documentation on this? Specifically:

Where does it enable TCL to be used? The transfer settings page specifically says in its text that you're adding TH1, not a user-definable string that changes if TCL is enabled.

Assuming I have TCL 8.4 installed on my Ubuntu system, what should I set the TCL directory to? /usr/lib/tcl8.4 didn't work, neither did /usr/include/tcl.

Will this allow me to do what I want? I'm building out a huge VPS with room for lots of infrastructure, and it'd be great if I can tie Fossil into CI. Simply having Jenkins fetch RSS feeds and rebuild on change seemed to cause memory leaks, so I'd vastly prefer a push-based solution rather than a regular pull.

Thanks.


On 05/22/2012 08:34 AM, Nolan Darilek wrote:
Noticed these in my config settings on a new repository. I'm guessing these are the hooks I've long wanted?

Are there any docs/examples for these? I'd like to hit the URL of a Jenkins CI system whenever a repository gets pushed to, thus triggering a rebuild. Is this possible?

Thanks.

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to