null
null

Reputation: 3517

How to deploy tomcat web apps with Jenkins installed

I have XAMPP inc Tomcat installed on a win machine. It was working fine when url of my domain.com/webapps/appName was entered form another machine as well as the local machine.

I then installed Jenkins and can no longer access the apps - I assume it's because of port 8080 bt I don't enough enough to work out a solution.

I tried chaining the jenkins port - How to start jenkins on different port rather than 8080 using command prompt in Windows? - this works but jenkins is now on both 9090 and 8080.

Can anyone help please? Thanks.

Upvotes: 1

Views: 1595

Answers (1)

David Levesque
David Levesque

Reputation: 22441

If you installed Jenkins as a Windows service (which is the case if you installed it using the Windows installer) you need to edit the port in Jenkins' config file jenkins.xml, located in the root of the Jenkins installation directory.

The answer you linked to only applies if you run Jenkins from a command prompt, not if it is installed as a Windows service.

Upvotes: 2

Related Questions