We have already covered how to use Tomcat with Docker containers in
, Installing and Configuring Docker. To deploy an application with the Deploy plugin of Jenkins, we will modify
tomcat-users.xml. Let's take it step by step:
<?xml version='1.0' encoding='utf-8'?> <tomcat-users xmlns="http://tomcat.apache.org/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" version="1.0"> <!-- NOTE: The sample user and role entries below are intended for use with the examples web application. They are wrapped in a comment and thus are ignored when reading this file. If you wish to ...