Skip to content

Commit

Permalink
TeamCity : Define execution mode of post VCR step (#10800) (#18257)
Browse files Browse the repository at this point in the history
[upstream:e2197af707501c5a1acbd53eb6549999d88029c8]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored May 28, 2024
1 parent ed0798e commit 50d37b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .teamcity/components/builds/vcr_build_steps.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 50d37b5

Please sign in to comment.