diff --git a/.azure-pipelines/client.yml b/.azure-pipelines/client.yml index 8c9b07098aa5..cb6a349d9c8e 100644 --- a/.azure-pipelines/client.yml +++ b/.azure-pipelines/client.yml @@ -25,6 +25,10 @@ jobs: inputs: command: pack packagesToPack: '$(ProjectFile)' + env: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_MULTILEVEL_LOOKUP: 0 - task: PublishBuildArtifacts@1 displayName: 'Publish Artifacts' @@ -40,6 +44,13 @@ jobs: vmImage: 'vs2017-win2016' steps: + - task: DownloadBuildArtifacts@0 + displayName: 'Download Build Artifacts' + condition: and(succeededOrFailed(), ne(variables['Build.Reason'],'PullRequest')) + inputs: + artifactName: packages + downloadPath: $(System.DefaultWorkingDirectory) + - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 displayName: 'Component Detection' # ComponentGovernance is currently unable to run on pull requests of public projects. Running on @@ -77,7 +88,7 @@ jobs: command: test projects: '$(ProjectFile)' arguments: --filter TestCategory!=Live - + - task: DotNetCoreCLI@2 displayName: 'Build & Test (with live tests)' condition: ne(variables['System.TeamProject'], 'public')