I am new to Jenkins and trying to deploy the .war application using tomcat with Jenkins pipeline.
I have installed Jenkins successfully to my AWS Ubuntu server. The issue I am facing is I have
- List item
changed the default port in the jenkinsfile from 8080 to 9090
restarted the service Jenkins
checked the web page :9090 - error - This site can’t be reached
then tried the command java -jar jenkins.war --httpPort=9090 in the path /usr/share/java and was working fine when I press CTRL+C, then web page again disappread
and the log is
h.m.UpdateCenter$CompleteBatchJob#run: Completing installing of plugin batch…
2022-07-26 INFO h.p.b.g.GlobalTimeOutConfiguration#load: global timeout not set
^C2022-07-26 INFO winstone.Logger#logInternal: JVM is terminating. Shutting down Jetty
2022-07-26 INFO h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.tasks.Ant.AntInstaller
I have JAVA installed and nothing running in the server.
Could someone please help me what I am doing wrong here?