Skip to content

Commit

Permalink
TeamCity : Define execution mode of post VCR step (GoogleCloudPlatfor…
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahFrench authored May 28, 2024
1 parent 71bb708 commit e2197af
Showing 1 changed file with 2 additions and 0 deletions.
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 e2197af

Please sign in to comment.