aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Overloading Hudson Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Overloading Hudson" Watch "Overloading Hudson" New topic
Author

Overloading Hudson

Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 3314
    
    8
Hudson is a great tool for continuous integration builds. However, we also use Hudson as our "job" manager. In our application, we have many scheduled jobs. Some of them execute an ant task, some just execute procedure in the database, some upload a file, and so. We have been successfully able to use Hudson to do all that.

I am interested in knowing how other people utilize Hudson, besides building projects, of course

-Paul.


Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30767
    
156

Aside from builds, we have two other uses:
1) "heartbeat" type checks - to verify our websites are up
2) Pseudo-cron jobs - to copy a report from a directory on the server to an area folks can view through a browser


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 3314
    
    8
Jeanne Boyarsky wrote:Aside from builds, we have two other uses:
1) "heartbeat" type checks - to verify our websites are up
2) Pseudo-cron jobs - to copy a report from a directory on the server to an area folks can view through a browser


Thanks, Jeanne. How do you do this? Is there a plugin for that?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30767
    
156

Paul Anilprem wrote:
Jeanne Boyarsky wrote:Aside from builds, we have two other uses:
1) "heartbeat" type checks - to verify our websites are up
2) Pseudo-cron jobs - to copy a report from a directory on the server to an area folks can view through a browser


Thanks, Jeanne. How do you do this? Is there a plugin for that?

It's just Java code. You can do it with JWebUnit or Selenium or even just code that launches a URL with wget or Java's URL class. I like the first two options best because you can test logging in and more detail on the site. But if you are literally just pinging a bare bones one is fine.

No plugin needed because it's really just a JUnit test in a Hudson job that runs often. Hudson takes care of sending the emails.
 
jQuery in Action, 2nd edition
 
subject: Overloading Hudson