Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[testing]Test new pipeline #3

Closed
wants to merge 15 commits into from
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,4 @@ Azure SDK for Java is licensed under the [MIT](https://github.com/Azure/azure-sd
[jul_19_release_page]: https://azure.github.io/azure-sdk/releases/2019-07-10/java.html

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2FREADME.png)

22 changes: 22 additions & 0 deletions eng/pipelines/link-verification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
trigger: none

pr:
branches:
include:
- master
paths:
include:
- /*.md

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you try just *.md?

Copy link
Owner Author

@sima-zhu sima-zhu Oct 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we need to have single quotes around this in yaml. It doesn't work as expected.

jobs:
- job: Generate
variables:
- template: templates/variables/globals.yml
pool:
vmImage: 'ubuntu-18.04'
steps:

- template: ../common/pipelines/templates/steps/verify-links.yml
parameters:
Directory: ""
CheckLinkGuidance: $true
Urls: (git diff origin/master HEAD --name-only -- *.md)