From 50d37b566778d9a8e6c7b27c5ae58a49151d080c Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 28 May 2024 09:02:00 -0700 Subject: [PATCH] TeamCity : Define execution mode of post VCR step (#10800) (#18257) [upstream:e2197af707501c5a1acbd53eb6549999d88029c8] Signed-off-by: Modular Magician --- .teamcity/components/builds/vcr_build_steps.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.teamcity/components/builds/vcr_build_steps.kt b/.teamcity/components/builds/vcr_build_steps.kt index 05bcb261e90..c6ed9059b54 100644 --- a/.teamcity/components/builds/vcr_build_steps.kt +++ b/.teamcity/components/builds/vcr_build_steps.kt @@ -7,6 +7,7 @@ package builds +import jetbrains.buildServer.configs.kotlin.BuildStep import jetbrains.buildServer.configs.kotlin.BuildSteps import jetbrains.buildServer.configs.kotlin.buildSteps.ScriptBuildStep @@ -140,6 +141,7 @@ fun BuildSteps.runVcrTestRecordingSetup() { fun BuildSteps.runVcrTestRecordingSaveCassettes() { step(ScriptBuildStep { name = "Tasks after running VCR tests: if in RECORDING mode, push new cassettes to GCS" + executionMode = BuildStep.ExecutionMode.RUN_ON_FAILURE scriptContent = """ #!/bin/bash echo "VCR Testing: Post-test steps"