• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Overloading Hudson

 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3752
10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34668
366
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3752
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34668
366
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic