Settings and connection to Jenkins on Windows Server 2019 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 of “Public IP Address”).
To work, you must open port 8080 (TCP) in the network properties in the Azure firewall.
Connecting to the VM
- To connect to the virtual machine, run the “Remote Desktop Connection” shortcut “Win + R”. In the window that appears, enter “mstsc” and click “OK”.
- In the window that appears, enter the IP of the virtual machine and click “Connect”.
- In the window that appears, enter your username and password and click “OK”.
- Check the box and click “Yes”.
- Launch Microsoft Edge on the VM.
- Enter and follow the next address: http:/localhost:8080 in your browser. Jenkins pre-configuration page will be opened.
- Follow the next path C:\Program Files(x86)\Jenkins\secrets In Windows Explorer, and open the initialAdminPassword file using Notepad.
- The received password from the InitialAdminPassword file has to be entered in the Administrator password field in your browser, then click “Continue”.
- Click “Install suggested plugins”, otherwise, if you need additional settings, click “Select plugins to install”.
- You will be prompted to create an admin user, after the plugins are installed. Fill in all the fields and click “Save and continue”.
- 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
- 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.