Jenkins on Azure

  Kiến thức lập trình

Azure web app:
Java 17
Tomcat 10.0

I’m working on a team project for my studies, which involves creating a web application (focusing on the development process itself). I would like to set up Jenkins in such a way that each team member has access to it. The entire project is hosted on Azure, so it would be best to deploy Jenkins there. The problem is that the official documentation presents a method using a VM, which is not covered by the free subscription provided by the university. Also, as far as I know, Azure CLI is also paid. I’ve been thinking about deploying Jenkins as an Azure web app, but I have no idea how to do it.

I tried to upload the jenkins.war file (and the same file renamed to app.war) to the wwwroot folder, just like I did with our created application. However, after launching the web app, only a 404 page appears. I checked the logs, but I didn’t find anything suspicious.

Next, I tried to manually launch the jenkins.war file (via webssh) using the command java -jar jenkins.war. Everything went successfully (output was the same as when running it locally), but I don’t know how to access localhost.

New contributor

Ryu Kobayashi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT