Skip to content

Commit 848bc17

Browse files
committed
Clarifications for DTSes in July
1 parent 4db262b commit 848bc17

File tree

7 files changed

+45
-2
lines changed

7 files changed

+45
-2
lines changed

docs/pipelines/process/scheduled-triggers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ In this example, the classic editor scheduled trigger has two entries, producing
449449

450450
* You might have updated the service connection used to connect to the repository. This will cause a new run to be scheduled even if you have not updated your source code.
451451

452-
* Azure Pipelines first checks if there are any updates to your code. If Azure Pipelines is unable to reach your repository or get this information, it will either start a scheduled run anyway or it will create a failed run to indicate that it is unable to reach the repository.
452+
* Azure Pipelines first checks if there are any updates to your code. If Azure Pipelines is unable to reach your repository or get this information, it will either start a scheduled run anyway or it will create a failed run to indicate that it is unable to reach the repository. If you notice that a run was created and that failed immediately, this is likely the reason. It is a dummy build to let you know that Azure Pipelines is unable to reach your repository.
453453

454454
### I see the planned run in the Scheduled runs panel. However, it does not run at that time. Why?
455455

docs/pipelines/repos/azure-repos-git.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,11 @@ Problems related to Azure Repos integration fall into three categories:
222222

223223
[!INCLUDE [qa](includes/qa3.md)]
224224

225-
#### I have the YAML file in one repo and the application code in a different repo. How do I set up the pipeline to be triggered by changes to application code?
225+
[!INCLUDE [qa](includes/qa4.md)]
226+
227+
#### I have multiple repositories in my YAML pipeline. How do I set up triggers for each repository?
228+
229+
See triggers in [Using multiple repositories](multi-repo-checkout.md#triggers).
226230

227231
### Failing checkout
228232

docs/pipelines/repos/bitbucket.md

+2
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ Problems related to Bitbucket integration fall into the following categories:
219219

220220
[!INCLUDE [qa](includes/qa3.md)]
221221

222+
[!INCLUDE [qa](includes/qa4.md)]
223+
222224
### Wrong version
223225

224226
[!INCLUDE [qa](includes/qa1.md)]

docs/pipelines/repos/github.md

+10
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,14 @@ Depending on the authentication type and ownership of the repository, specific p
564564
- If you're using OAuth, see [OAuth authentication](#oauth-authentication).
565565
- If you're using PATs, see [Personal access token (PAT) authentication](#personal-access-token-pat-authentication).
566566

567+
#### When I select a repository during pipeline creation, I get an error "The repository <repo-name> is in use with the Azure Pipelines GitHub App in another Azure DevOps organization."
568+
569+
This means that your repository is already associated with a pipeline in a different organization. CI and PR events from this repository won't work as they will be delivered to the other organization. Here are the steps you should take to remove the mapping to the other organization before proceeding to create a pipeline.
570+
571+
1. Open a pull request in your GitHub repository, and make the comment `/azp where`. This reports back the Azure DevOps organization that the repository is mapped to.
572+
573+
2. To change the mapping, uninstall the app from the GitHub organization, and re-install it. As you re-install it, make sure to select the correct organization when you are redirected to Azure DevOps.
574+
567575
### Failing triggers
568576

569577
[!INCLUDE [qa](includes/qa2.md)]
@@ -588,6 +596,8 @@ Depending on the authentication type and ownership of the repository, specific p
588596

589597
[!INCLUDE [qa](includes/qa3.md)]
590598

599+
[!INCLUDE [qa](includes/qa4.md)]
600+
591601
### Failing checkout
592602

593603
#### I see the following error in the log file during checkout step. How do I fix it?

docs/pipelines/repos/includes/qa4.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
ms.topic: include
3+
ms.technology: devops-cicd
4+
ms.manager: mijacobs
5+
ms.author: vijayma
6+
author: vijayma
7+
ms.date: 07/29/2020
8+
---
9+
10+
#### I do not want users to override the list of branches for triggers when they checkout the YAML file. How can I do this?
11+
12+
Users with permissions to contribute code can update the YAML file and include/exclude additional branches. As a result, users can include their own feature or user branch in their YAML file and push that update to a feature or user branch. This may cause the pipeline to be triggered for all updates to that branch. If you want to prevent this behavior, then you can:
13+
14+
1. Edit the pipeline in the Azure Pipelines UI.
15+
2. Navigate to the **Triggers** menu.
16+
3. Select **Override the YAML continuous Integration trigger from here**.
17+
4. Specify the branches to include or exclude for the trigger.
18+
19+
Note that when you follow these steps, any CI triggers specified in the YAML file are ignored.

docs/pipelines/repos/on-premises-bitbucket.md

+4
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ Follow each of these steps to troubleshoot your failing triggers:
9494

9595
* Have you excluded the branches or paths to which you pushed your changes? Test by pushing a change to an included path in an included branch. Note that paths in triggers are case-sensitive. Make sure that you use the same case as those of real folders when specifying the paths in triggers.
9696

97+
#### I did not push any updates to my code, however the pipeline is still being triggered.
98+
99+
* The continuous integration trigger for BitBucket works through polling. After each polling interval, Azure Pipelines attempts to contact the BitBucket server to check if there have been any updates to the code. If Azure Pipelines is unable to reach the Bitbucket server (possibly due to a network issue), then we start a new run anyway assuming that there might have been code changes. In a few cases, Azure Pipelines may also create a dummy failed build with an error message to indicate that it was unable to reach the server.
100+
97101
### Failing checkout
98102

99103
#### When I attempt to start a new run manually, there is a delay of 4-8 minutes before it starts.

docs/pipelines/repos/subversion.md

+4
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Follow each of these steps to troubleshoot your failing triggers:
5858

5959
* Is your pipeline paused or disabled? Open the editor for the pipeline, and then select **Settings** to check. If your pipeline is paused or disabled, then triggers do not work.
6060

61+
#### I did not push any updates to my code, however the pipeline is still being triggered.
62+
63+
* The continuous integration trigger for Subversion works through polling. After each polling interval, Azure Pipelines attempts to contact the Subversion server to check if there have been any updates to the code. If Azure Pipelines is unable to reach the server (possibly due to a network issue), then we start a new run anyway assuming that there might have been code changes. In a few cases, Azure Pipelines may also create a dummy failed build with an error message to indicate that it was unable to reach the server.
64+
6165
### Failing checkout
6266

6367
#### The checkout step fails with the error that the server cannot be resolved.

0 commit comments

Comments
 (0)