Azure and Jenkins
Jenkins is a popular open-source automation server used to set up continuous integration and delivery (CI/CD) for your software projects. You can host your Jenkins deployment in Azure or extend your existing Jenkins configuration using Azure resources. Jenkins plugins are also available to simplify CI/CD of your applications to Azure.
This article is an introduction to using Azure with Jenkins, detailing the core Azure features available to Jenkins users. For more information about getting started with your own Jenkins server in Azure, see Create a Jenkins server on Azure.
Host your Jenkins servers in Azure
Host Jenkins in Azure to centralize your build automation and scale your deployment as the needs of your software projects grow. See Quickstart - Get started with Jenkins to learn how to install and configure Jenkins on a Linux VM. Monitor and manage your Azure Jenkins deployment using Azure Monitor logs and the Azure CLI.
Scale your build automation on demand
Add build agents to your existing Jenkins deployment to scale your Jenkins build capacity as the number of builds and complexity of your jobs and pipelines increase. You can run these build agents on Azure virtual machines by using the Azure VM Agents plug-in. See our tutorial for more details.
Once configured with an Azure service principal, Jenkins jobs and pipelines can use this credential to:
- Securely store and archive build artifacts in Azure Storage using the Azure Storage plug-in. Review the Jenkins storage how-to to learn more.
- Manage and configure Azure resources with the Azure CLI.
Deploy your code into Azure services
Use Jenkins plugins to deploy your applications to Azure as part of your Jenkins CI/CD pipelines. Deploying into Azure App Service and Azure Container Service lets you stage, test, and release updates to your applications without managing the underlying infrastructure.
Plug-ins are available to deploy to the following services and environments: