From 5d9e90cd91e7f6ce8067d8d279c5e1a8beacf027 Mon Sep 17 00:00:00 2001 From: Vincent Dai <23257217+vidai-msft@users.noreply.github.com> Date: Wed, 12 Apr 2023 13:35:46 +0800 Subject: [PATCH] Only when the live test is triggered by scheduled run, the result data will be saved to Kusto --- .azure-pipelines/util/live-test-steps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/util/live-test-steps.yml b/.azure-pipelines/util/live-test-steps.yml index f5c34a25ab9f..06d20d72d7dc 100644 --- a/.azure-pipelines/util/live-test-steps.yml +++ b/.azure-pipelines/util/live-test-steps.yml @@ -123,7 +123,7 @@ jobs: - task: PowerShell@2 displayName: Save live test results to Kusto - condition: succeededOrFailed() + condition: and(succeededOrFailed(), eq(variables['Build.Reason'], 'Schedule')) inputs: pwsh: true targetType: filePath