December 2017
Beginner to intermediate
362 pages
8h 35m
English
The pipeline code to start Apache Tomcat on the performance testing agent is a simple shell script that will run the ./startup.sh script present inside the Tomcat installation directory:
sh '''cd /home/jenkins/tomcat/bin./startup.sh''';
Wrap the preceding step inside a stage called Start Tomcat:
stage ('Start Tomcat'){ sh '''cd /home/jenkins/tomcat/bin ./startup.sh''';}
Read now
Unlock full access