Skip to content

Commit e5f061f

Browse files
authored
Djurek/docindex-arbitrary-branch-name (Azure#27911)
* Record output for displaying error messages in devops * Upgrade to match Docs CI Python Version
1 parent 86fa707 commit e5f061f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

eng/pipelines/docindex.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
DocRepoName: azure-docs-sdk-python
1515
DocValidationImageId: azuresdkimages.azurecr.io/pyrefautocr:latest
1616
steps:
17-
# Docs CI uses Python 3.6.8 but that is not available on this image
17+
# Docs CI uses Python 3.9.13
1818
- task: UsePythonVersion@0
19-
displayName: 'Use Python 3.6'
19+
displayName: 'Use Python 3.9.13'
2020
inputs:
21-
versionSpec: '3.6'
21+
versionSpec: '3.9.13'
2222

2323
# Docs CI upgrades pip, wheel, and setuptools
2424
- pwsh: pip install --upgrade pip wheel setuptools

eng/scripts/Language-Settings.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,15 @@ function FallbackValidation
258258
$packageExpression `
259259
--no-cache-dir `
260260
--target $installTargetFolder `
261-
--extra-index-url=$PackageSourceOverride 2>&1 | Out-Null
261+
--extra-index-url=$PackageSourceOverride 2>&1
262262
}
263263
else {
264264
Write-Host "pip install $packageExpression --no-cache-dir --target $installTargetFolder"
265265
$pipInstallOutput = pip `
266266
install `
267267
$packageExpression `
268268
--no-cache-dir `
269-
--target $installTargetFolder 2>&1 | Out-Null
269+
--target $installTargetFolder 2>&1
270270
}
271271
if ($LASTEXITCODE -ne 0) {
272272
LogWarning "pip install failed for $packageExpression"

0 commit comments

Comments
 (0)