File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ parameters:
6464 - name : EnvVars
6565 type : object
6666 default : {}
67+ - name : PythonVersionForAnalyze
68+ type : string
69+ default : ' '
6770
6871jobs :
6972 - job : ' Build_Linux'
@@ -217,11 +220,10 @@ jobs:
217220
218221 steps :
219222 - task : UsePythonVersion@0
220- displayName : ' Use Python $( PythonVersion)'
223+ displayName : " Use Python ${{ coalesce(parameters.PythonVersionForAnalyze, '$( PythonVersion)') }} "
221224 condition : succeededOrFailed()
222225 inputs :
223- versionSpec : ' $(PythonVersion)'
224-
226+ versionSpec : ${{ coalesce(parameters.PythonVersionForAnalyze, '$(PythonVersion)') }}
225227 - template : /eng/pipelines/templates/steps/use-venv.yml
226228
227229 - template : /eng/common/pipelines/templates/steps/check-spelling.yml
Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ parameters:
8484 - name : EnvVars
8585 type : object
8686 default : {}
87+ - name : PythonVersionForAnalyze
88+ type : string
89+ default : ' '
8790
8891extends :
8992 template : /eng/pipelines/templates/stages/1es-redirect.yml
@@ -120,6 +123,7 @@ extends:
120123 VerifyAutorest : ${{ parameters.VerifyAutorest }}
121124 TestProxy : ${{ parameters.TestProxy }}
122125 GenerateApiReviewForManualOnly : ${{ parameters.GenerateApiReviewForManualOnly }}
126+ PythonVersionForAnalyze : ${{ parameters.PythonVersionForAnalyze }}
123127
124128 variables :
125129 - template : /eng/pipelines/templates/variables/globals.yml
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ extends:
3232 TestProxy : true
3333 BuildDocs : true
3434 TestTimeoutInMinutes : 60
35+ PythonVersionForAnalyze : ' 3.10'
3536 # The job "Test ubuntu2404_pypy39" in the "python - agentserver" pipeline hangs and eventually times out.
3637 # Disable it until the issue is understood.
3738 MatrixConfigs :
You can’t perform that action at this time.
0 commit comments