How to start/stop tomcat from Jenkins?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to start/stop tomcat from Jenkins?

Dung Nguyen Minh
Hi,
1/ Can you tell me how to start/stop tomcat from Jenkins?
2/ How to upload a file to any tomcat directory from Jenkins?

Thanks

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: How to start/stop tomcat from Jenkins?

Maciej Jaros
Dung Nguyen Minh (2013-11-29 05:20):
Hi,
1/ Can you tell me how to start/stop tomcat from Jenkins?
/etc/init.d/tomcat stop - you might want to stop tomcat in pre-build step to avoid the need to wait for it before deploying.
/etc/init.d/tomcat start
2/ How to upload a file to any tomcat directory from Jenkins?
Use SSH.

Regards,
Nux.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: How to start/stop tomcat from Jenkins?

Dung Nguyen Minh
Hi Nux,

I'm newbie. I want to start/stop Tomcat directly from Jenkins? Can you show me step by step?

Thanks.

Vào 13:48:58 UTC+7 Thứ sáu, ngày 29 tháng mười một năm 2013, maciej đã viết:
Dung Nguyen Minh (2013-11-29 05:20):
Hi,
1/ Can you tell me how to start/stop tomcat from Jenkins?
/etc/init.d/tomcat stop - you might want to stop tomcat in pre-build step to avoid the need to wait for it before deploying.
/etc/init.d/tomcat start
2/ How to upload a file to any tomcat directory from Jenkins?
Use SSH.

Regards,
Nux.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.