I am learning the fundamentals of Jenkins through udemy and I encountered a problem that’s been bugging me.
I have a webapp that I can run locally on a host where Jenkins is installed. This app is accessible on localhost:8000 without any problems if run it locally from my terminal.
I have tried to do the same through Jenkins pipeline, but the localhost:8000 is sadly not accessible after the build goes through, despite console-output showing that the build itself was successful.
Any pointers what could be wrong/where I have possibly made a mistake? Thanks a lot
I have attached screenshot of the Jenkinsfile.