How to use tomcat credentials in jenkins

8 views
Skip to first unread message

Naga Malleswara Rao

unread,
Aug 23, 2017, 8:54:05 AM8/23/17
to Jenkins Users
Hi,

I have configured Jenkins in tomcat.

Jenkins is running fine without any issue.

I have configured the freestyle project in jenkins and get the code using git.

Compiled the code and generated the war file.

Now I want to deploy the war in tomcat through the Jenkins.

Configured the deploy plug-in.

In the post build section, passed the war details and context path along with tomcat version and tomcat url.

Here, I want pass the tomcat credentials which I am not able to do.

as my jenkins credentials and tomcat credentials are different.

I am able to deploy the war when I configured the same credentials.

Please suggest me how to pass the tomcat credentials which are different to Jenkins.

My Jenkins version is 2.60.3
tomcat version is 7.x

Thank you.
Naga

Reply all
Reply to author
Forward
0 new messages