diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index a1df2a4ef05d4a..ba14ea5e011c46 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -112,14 +112,11 @@ jobs: - template: tools/ci/azure/checkout.yml - script: systeminfo displayName: 'Show system info' - - bash: find $AGENT_TOOLSDIRECTORY -type d - - task: UsePythonVersion@0 + - bash: find $AGENT_TOOLSDIRECTORY/Python/2.7.* -type f + - task: PublishPipelineArtifact@0 inputs: - versionSpec: '2.7' - addToPath: true - displayName: 'Install Python' - - script: python --version - displayName: 'Show Python version' + artifactName: 'python' + targetPath: $(Agent.ToolsDirectory)/Python/ - job: toolsdir_win1803 displayName: 'Test (Windows Server 1803)'