Sync eng/common directory with azure-sdk-tools for PR 1341 (#541)
* Run the link verification step even previous step failed. * Make the tab right * Address comments * Run default condition if no RunOnFailure set. * Changed back to simple condition Co-authored-by: Sima Zhu <sizhu@microsoft.com>
This commit is contained in:
Родитель
7f6c81f6cb
Коммит
2233755e43
|
@ -8,10 +8,12 @@ parameters:
|
|||
Urls: '(Get-ChildItem -Path ./ -Recurse -Include *.md)'
|
||||
BranchReplaceRegex: "^(${env:SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI}.*/(?:blob|tree)/)master(/.*)$"
|
||||
BranchReplacementName: "${env:SYSTEM_PULLREQUEST_SOURCECOMMITID}"
|
||||
Condition: succeeded() # If you want to run on failure for the link checker, set it to `Condition: succeededOrFailed()`.
|
||||
|
||||
steps:
|
||||
- task: PowerShell@2
|
||||
displayName: Link verification check
|
||||
condition: ${{ parameters.Condition }}
|
||||
inputs:
|
||||
pwsh: true
|
||||
workingDirectory: '${{ parameters.WorkingDirectory }}/${{ parameters.Directory }}'
|
||||
|
|
Загрузка…
Ссылка в новой задаче