Build with Azure container in Azure
Update Jenkins DNS Name
In Managed Jenkins -> Configure System -> Administrative monitors configuration -> Jenkins URL, make sure to update the Jenkins DNS name. Otherwise, the agent won’t be able to connect with the master.
Since the slave/agent connects with master via JNLP, make sure JNLP is allowed. In Jenkins, under Configure Global Security -> TCP port for JNLP agents, select select
Fixed and specify a port, for example,
Make sure you add a corresponding inbound security rule for the Jenkins master. In Azure, you add the rule in the Network Security Group for the Jenkins master:
Install the Azure plugins
- From the Jenkins dashboard, select Manage Jenkins, then select Manage Plugins.
- Select the Available tab, then search for Azure Credentials and Azure Container Agents Plugin. Select the checkbox next to the entry for each of the plugin and select Install without restart from the bottom of the dashboard.
I ran into an issue I have installed my Azure plugins