I am trying to configure Hudson so that I can automatically deploy the assembly (.war file) to Tomcat. A recently deployed build will be used by someone to test the application.
I tried using the Deploy plugin to automatically deploy the .war file, and it works. However, the work that creates the .war file will start after every scm change (whenever the code is committed). Using the Deploy plugin, the .war file will be deployed to Tomcat every time an assembly is created. Since the code is often executed, this will mean that the web application will also be restarted frequently, and this will interrupt the testing process.
I appreciate the fact that Hudson conducts my unit tests and regularly builds the assembly, so I don’t want to change the triggers for this work.
I am looking for a way that I can manually decide for deployment from Hudson. I tried to create a separate task that will deploy .war from the first work, but that did not work. Does anyone have any experience with this?
tomcat continuous-integration hudson continuous-deployment
Daniël rutten
source share