<p>I'm new to Azure DevOps so I may be wrong - I think you are asking about using a Jenkins plugin to scan Azure Repos for Jenkinsfiles.</p>

<p>If you were moving to Azure DevOps, you can store your Azure Pipeline configuration, <em>azure-pipelines.yml</em>,  in YAML format and this can be stored in the code repository (like a Jenkinsfile).</p>

<p>For further pipeline details see; <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started-yaml" rel="nofollow noreferrer">Create your first pipeline</a> and <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema" rel="nofollow noreferrer">YAML schema reference</a>.</p>

<p>It looks like you can configure Azure Pipelines to scan your organization repos in <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/azure-repos-git" rel="nofollow noreferrer">Azure Repos</a> and <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github" rel="nofollow noreferrer">GitHub</a></p>

<p>The GitHub documentation does warn that this feature is <strong>actively being improved</strong> - so it may change in the future.</p>

<p>For GitHub you need also configure Azure Pipelines access using the GitHub app:</p>

<p><a href="https://github.com/apps/azure-pipelines/installations/new/permissions" rel="nofollow noreferrer">https://github.com/apps/azure-pipelines/installations/new/permissions</a></p>

CC BY-SA 4.0
2019-01-16T12:07:16.610Z
2019-01-16T13:30:19.240Z
2019-01-16T13:30:19.240Z
Mark McLaren
<p>Azure pipelines can be set up to automatically run a CI build from GitHub or a private Git repository sitting within Azure DevOps. Your build or release pipeline in Azure DevOps has Jenkins tasks so you can pass the build job to Jenkins to complete if desired.</p>

<blockquote>
  <p>Also is there a plugin in Jenkins for Azure repos.</p>
</blockquote>

<p>Yes - <a href="https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins?view=azure-devops" rel="nofollow noreferrer">This link will help you</a></p>

<p>Alternatively if Jenkins is the source of your build and you want to pass this to Azure Pipelines then <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/release/integrate-jenkins-pipelines-cicd?view=azure-devops&amp;tabs=yaml" rel="nofollow noreferrer">this will help</a></p>

CC BY-SA 4.0
2019-06-18T03:34:08.823Z
2019-06-18T03:34:08.823Z
astro8891
<p>We have our source code in GitHub. We use Jenkins for CI. We had written a Jenkinsfile in the Github repos and used GitHub plugin for Jenkins. The plugin would scan the repos and then Jenkins would execute the code in Jenkinsfile for the builds. This works perfectly. </p>

<p>Now, we are moving our source code from GitHub to Azure repos(<a href="https://azure.microsoft.com/en-us/services/devops/repos/" rel="nofollow noreferrer">https://azure.microsoft.com/en-us/services/devops/repos/</a>) purely for non technical reasons. From what I could tell, looking around, there does not seem to be an equivalent of Git hub plugin for Azure repos in Jenkins. Is this correct. Also is there a plugin in Jenkins for Azure repos.  </p>

<jenkins><azure-devops><jenkins-plugins>
Jenkinsfile equivalent in Azure repos
Prashant
# Jenkinsfile equivalent in Azure repos

(Asked by: username_0 on 2018-10-10)

We have our source code in GitHub. We use Jenkins for CI. We had written a Jenkinsfile in the Github repos and used GitHub plugin for Jenkins. The plugin would scan the repos and then Jenkins would execute the code in Jenkinsfile for the builds. This works perfectly.

Now, we are moving our source code from GitHub to Azure repos(<https://azure.microsoft.com/en-us/services/devops/repos/>) purely for non technical reasons. From what I could tell, looking around, there does not seem to be an equivalent of Git hub plugin for Azure repos in Jenkins. Is this correct. Also is there a plugin in Jenkins for Azure repos.

**Tags:** jenkins, azure-devops, jenkins-plugins


---

## 2 answers

### Answer by username_1 on 2019-01-16. Score: 1

I'm new to Azure DevOps so I may be wrong - I think you are asking about using a Jenkins plugin to scan Azure Repos for Jenkinsfiles.

If you were moving to Azure DevOps, you can store your Azure Pipeline configuration, *azure-pipelines.yml*, in YAML format and this can be stored in the code repository (like a Jenkinsfile).

For further pipeline details see; [Create your first pipeline](https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started-yaml) and [YAML schema reference](https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema).

It looks like you can configure Azure Pipelines to scan your organization repos in [Azure Repos](https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/azure-repos-git) and [GitHub](https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github)

The GitHub documentation does warn that this feature is **actively being improved** - so it may change in the future.

For GitHub you need also configure Azure Pipelines access using the GitHub app:

<https://github.com/apps/azure-pipelines/installations/new/permissions>


---

### Answer by username_2 on 2019-06-18. Score: 0

Azure pipelines can be set up to automatically run a CI build from GitHub or a private Git repository sitting within Azure DevOps. Your build or release pipeline in Azure DevOps has Jenkins tasks so you can pass the build job to Jenkins to complete if desired.

> Also is there a plugin in Jenkins for Azure repos.

Yes - [This link will help you](https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins?view=azure-devops)

Alternatively if Jenkins is the source of your build and you want to pass this to Azure Pipelines then [this will help](https://docs.microsoft.com/en-us/azure/devops/pipelines/release/integrate-jenkins-pipelines-cicd?view=azure-devops&tabs=yaml)


---

