Reputation: 1635
I'm using Jenkins for the first time and I wanna try it in local before deploy in my company.
So I have a app.war
generated from eclipse : it's a maven project.
I wanna to build it in Jenkins and then deploy it in Tomcat 6.
So I set the "right" configuration I think in Jenkins, but when I have launch the build, I got a successful build in my project but it's not deploying in tomcat .
I'll put my console Output of Jenkins and the configuration
Console Output Jenkins :
Configuration Jenkins
So what's wrong with that ? Thnx
Upvotes: 3
Views: 3407
Reputation: 3074
Solution to your question -Edited
<plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.2</version> <configuration> <url>http://localhost:8080/manager/text</url> <server>TomcatServer</server> <path>/YourPath</path> </configuration> </plugin>
Upvotes: 3