• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding build and deploy

 
santhosh kumar vk
Ranch Hand
Posts: 152
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could you please tell me how to build and deploy a project using hudson with ant in glassfish server in every commit in svn.

Thanks,
Santhosh Kumar V.K
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which part of this series of steps are you having difficulty with?

To trigger a build in Hudson each time a Subversion commit is made, you will need a post-commit hook. A Google search will yield numerous blog entries on this: hudson subversion post-commit hook

I assume you know how to deploy an app to Glassfish. Based on that knowledge, you should be able to write an Ant task to do the same. And that task should be part of the Ant script that Hudosn runs when it gets called by the post-commit trigger.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic