diff --git a/jenkins/jobs/bmo_e2e_tests.pipeline b/jenkins/jobs/bmo_e2e_tests.pipeline index 380d9330d..03c9bb43e 100644 --- a/jenkins/jobs/bmo_e2e_tests.pipeline +++ b/jenkins/jobs/bmo_e2e_tests.pipeline @@ -7,7 +7,17 @@ def TIMEOUT = 3600 def branch = env.ghprbActualCommit ?: "main" def repoUrl = env.ghprbAuthorRepoGitUrl ?: "https://github.com/metal3-io/baremetal-operator.git" +// Define GINKGO_FOCUS var based on the test set +def GINKGO_FOCUS = "" + +if (TEST_SET == "e2e-upgrade-test") { + GINKGO_FOCUS="upgrade" +} + pipeline { + environment { + GINKGO_FOCUS="${GINKGO_FOCUS}" + } agent none stages { stage("Run Baremetal Operator e2e tests") {