From 4093399e8c10cc9f287ed6b9d8e5cadf10455364 Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Thu, 28 Feb 2019 15:55:15 -0800 Subject: [PATCH] Skip first run experience on azure pipelines. - Suppresses the 'Welcome to .NET Core!' output that times out tests and causes locked file issues. When using dotnet we're not guarunteed to run in an environment where the dotnet.exe has had its first run experience already invoked. This would cause our functional tests to time out and occasionally crash due to dotnet first run experience sentinels being locked. aspnet/AspNetCore-Internal#1859 --- .azure/pipelines/jobs/default-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure/pipelines/jobs/default-build.yml b/.azure/pipelines/jobs/default-build.yml index eaeb9ace14..9b6c2d6994 100644 --- a/.azure/pipelines/jobs/default-build.yml +++ b/.azure/pipelines/jobs/default-build.yml @@ -103,6 +103,7 @@ jobs: BuildScriptArgs: ${{ parameters.buildArgs }} BuildConfiguration: ${{ parameters.configuration }} BuildDirectory: ${{ parameters.buildDirectory }} + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true TeamName: AspNetCore ${{ if eq(parameters.agentOs, 'Windows') }}: JAVA_HOME: $(Agent.BuildDirectory)\.tools\jdk