user1167753
user1167753

Reputation: 801

how to tell jenkins to restart tomcat after deployment?

unfortunately I am new to jenkins and linux and hope somebody can help me here.

It is about the automatic build for our system. We use jenkins job to updatethe web system. after updating, tomcat and the system shoud be restarted. For updating the system we use the following execution command:

bash -l distr/deploy.sh -s /distr -a /data/mySystem -c /opt/apache-tomcat-8.0.5 2>&1 | tee log.log

how to tell jenkins to start tomcat after deployment?

Upvotes: 0

Views: 2118

Answers (1)

Michael Peacock
Michael Peacock

Reputation: 2104

This tutorial is for Tomcat 7, but the idea should be similar for v8: http://www.jdev.it/deploying-your-war-file-from-jenkins-to-tomcat/

Upvotes: 1

Related Questions