开发者

Performing deployment of application and restarting of domain in the same server

开发者 https://www.devze.com 2023-01-03 19:27 出处:网络
I am using hudson which will run scheduled builds from time to time. Problem is that i configured a shell scri开发者_如何学Cpt which will be excuted to perform the deployment and also restarting of d

I am using hudson which will run scheduled builds from time to time.

Problem is that i configured a shell scri开发者_如何学Cpt which will be excuted to perform the deployment and also restarting of domain.

As hudson is on the same application server as the actual application.

My hudson will stop and also stop the shell script after the asadmin stop-domain command so it doesn't proceed to start back the domain.

What can i do to resolve this issue?


Daniel is right. Every process that Hudson starts will be destroyed when Hudson shuts down. So you need a way to have a process outside of Hudson pick up that signal. You can do that with a separate process that checks a directory periodically and performs an action according to files that will be created in that directory. The safest way is to code the action in the filename. However, a message to any non-Hudson process will do as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消