File tree Expand file tree Collapse file tree 2 files changed +19
-9
lines changed
eng/pipelines/templates/jobs Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,16 @@ jobs:
4141
4242 - template : /eng/common/pipelines/templates/steps/daily-dev-build-variable.yml
4343
44- - script : |
45- pip install setuptools wheel
46- pip install doc-warden==$(DocWardenVersion)
47- ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml
44+ - task : PowerShell@2
4845 displayName : ' Verify Readmes'
46+ inputs :
47+ pwsh : true
48+ workingDirectory : $(Agent.BuildDirectory)
49+ filePath : eng/common/scripts/Verify-Readme.ps1
50+ arguments : >
51+ -DocWardenVersion $(DocWardenVersion)
52+ -ScanPath ${{ parameters.ServiceDirectory }}
53+ -SettingsPath $(Build.SourcesDirectory)/eng/.docsettings.yml
4954
5055 - template : ../steps/cache-maven-repository.yml
5156 parameters :
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ parameters:
3434 - name : PreBuildSteps
3535 type : object
3636 default : []
37-
37+
3838jobs :
3939 - job : ' Build'
4040
@@ -245,11 +245,16 @@ jobs:
245245 ServiceDirectory : " template"
246246 TestPipeline : ${{ parameters.TestPipeline }}
247247
248- - script : |
249- pip install setuptools wheel
250- pip install doc-warden==$(DocWardenVersion)
251- ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml
248+ - task : PowerShell@2
252249 displayName : ' Verify Readmes'
250+ inputs :
251+ pwsh : true
252+ workingDirectory : $(Agent.BuildDirectory)
253+ filePath : eng/common/scripts/Verify-Readme.ps1
254+ arguments : >
255+ -DocWardenVersion $(DocWardenVersion)
256+ -ScanPath ${{ parameters.ServiceDirectory }}
257+ -SettingsPath $(Build.SourcesDirectory)/eng/.docsettings.yml
253258
254259 - template : /eng/common/pipelines/templates/steps/verify-links.yml
255260 parameters :
You can’t perform that action at this time.
0 commit comments