Hello,
First of all thanks for great tool. We were choosing between Luntbuild, Continuum and Hudson. And Hudson makes sense most of all. Questions; 1. Fingerprinting of artifacts is not clear. I generate Jars/archives in .hudson/jobs/project/workspace and they are fingerprinted. But when I do the next build, the whole workspace/ directory is wiped. Where I am supposed to place artifacts? My build.xml have target like <antcall target="package"> <param name="destfile" value="../package_${build.number}.zip"/> </antcall> Which places archive in workspace/. I guess I should copy artifacts outside of Hudson jurisdiction. But they will not be fingerprinted then. Or I am wrong completely and fingerprinting is for for source code files? 2. Monitoring project mode, you're supposed to run Cron job through Hudson.jar. I guess Hudson runs your command and pass output and return code to Hudson server URL. I have projects in PHP and want to pass output to Hudson URL natively from PHP. Without hudson.jar. Is there API for that? How can I write my own monitoring client? Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Joe Kramer wrote:
> Hello, > > First of all thanks for great tool. We were choosing between > Luntbuild, Continuum and Hudson. And Hudson makes sense most of all. > > Questions; > 1. Fingerprinting of artifacts is not clear. I generate Jars/archives > in .hudson/jobs/project/workspace and they are fingerprinted. > But when I do the next build, the whole workspace/ directory is wiped. > Where I am supposed to place artifacts? remembered in association with the particular build. Fingerprinting is not an archiving. See [1] > My build.xml have target like > > <antcall target="package"> > <param name="destfile" value="../package_${build.number}.zip"/> > </antcall> > > Which places archive in workspace/. No, you don't want to do this, because Hudson won't recognize those files. > I guess I should copy artifacts outside of Hudson jurisdiction. But > they will not be fingerprinted then. > > Or I am wrong completely and fingerprinting is for for source code files? Fingerprints are usually for artifacts, although you can use it with source code if you want. > 2. Monitoring project mode, you're supposed to run Cron job through Hudson.jar. cron job or any other situation where a process is launched automatically, like inetd, sendmail, cgi, etc. > I guess Hudson runs your command and pass output and return code to > Hudson server URL. > I have projects in PHP and want to pass output to Hudson URL natively > from PHP. Without hudson.jar. > Is there API for that? How can I write my own monitoring client? Good point. Indeed you can pass output to Hudson directly. I just need to document that. Could you file an issue for this so that we won't forget? [1] https://hudson.dev.java.net/fingerprint.html -- Kohsuke Kawaguchi Sun Microsystems [hidden email] |
Free forum by Nabble | Edit this page |