Jenkins

 Jenkins in Azure DevOps refers to integrating Jenkins, a popular open-source automation server, into your Azure DevOps ecosystem to manage builds, tests, and deployments.

While Azure DevOps already includes its own CI/CD system (Azure Pipelines), Jenkins can be used:

  • instead of Azure Pipelines (if you're already using Jenkins)

  • alongside Azure DevOps (e.g., source code in Azure Repos, build in Jenkins)


🧩 What is Jenkins?

Jenkins is a widely-used automation server that enables:

  • Continuous Integration (CI)

  • Continuous Delivery/Deployment (CD)

  • Automated builds, tests, packaging, and deployments

It supports many plugins and can integrate with most tools in the DevOps lifecycle.


πŸ”„ Why Integrate Jenkins with Azure DevOps?

You may want to:

  • Use Azure Repos as the source code repo for Jenkins builds.

  • Trigger Jenkins builds from Azure DevOps Pipelines or Releases.

  • Report Jenkins build results back to Azure DevOps (e.g., PR checks).

  • Use Jenkins to deploy artifacts created in Azure DevOps.


πŸ”§ Common Integration Scenarios

1. Azure Repos → Jenkins

Use Azure DevOps Git repository as the code source in a Jenkins job.

How:

  • Use a webhook from Azure DevOps to trigger a Jenkins job on code push.

  • Install the Jenkins Azure DevOps plugin for deeper integration.


2. Jenkins → Azure DevOps Pipeline

Run a Jenkins job from within an Azure DevOps pipeline (as a build step).

yaml
- task: JenkinsQueueJob@2 inputs: serverEndpoint: 'MyJenkinsConnection' jobName: 'my-jenkins-job' captureConsole: true

3. Jenkins Build Status in Azure DevOps

Display Jenkins build results (pass/fail) in:

  • Azure Repos pull requests (as status checks)

  • Azure Boards work items (via service hooks)


4. Publish Artifacts from Jenkins to Azure

Use Jenkins to push build artifacts to:

  • Azure Artifacts (NuGet/npm packages)

  • Azure Storage or App Services

  • Azure Container Registry

Comments

Popular posts from this blog

πŸ€– Copilot vs Microsoft Copilot vs Copilot Studio: What’s the Difference?

Automating Unique Number Generation in Dynamics 365 Using Plugins

In-Process vs Isolated Process Azure Functions: What’s the Difference?