Guidance on usage: Jenkins on Windows Server 2022 DC

Settings and connection to Jenkins on Windows Server 2022 DC

For the connection to the server, you should know the IP address of the VM. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line “Public IP Address”).

To work, you must open port 8080 (TCP) in the network properties in the Azure firewall.

Connecting to the VM

  1. To connect to the virtual machine, run the “Remote Desktop Connection” shortcut “Win + R”. In the window that appears, enter “mstsc” and click “OK”.
  1. In the window that appears, enter the IP of the virtual machine and click “Connect”.
  1. In the window that appears, enter your username and password and click “OK”.
  2. Check the box and click “Yes”.
  1. Launch Microsoft Edge on the VM.
  2. Enter and follow the next address: http:/localhost:8080 in your browser. Jenkins pre-configuration page will be opened.
  1. Follow the next path C:\Program Files(x86)\Jenkins\secrets In Windows Explorer, and open the initialAdminPassword file using Notepad.
  1. The received password from the InitialAdminPassword file has to be entered in the Administrator password field in your browser, then click “Continue”.
  1. Click “Install suggested plugins”, otherwise, if you need additional settings, click “Select plugins to install”.
  1. You will be prompted to create an admin user after the plugins are installed. Fill in all the fields and click “Save and continue”.
  1. After the user is created, you will be prompted to change the URL to access Jenkins. You can leave it unchanged and click “Save and Finish”. Then click “Start using Jenkins” to complete
  1. You can go to Jenkins from anywhere now. To do this, open the following address:  http://*vm_ip*:8080 in a browser convenient for you.