From a768894c924d6d737c8087136c987901530b4c5a Mon Sep 17 00:00:00 2001 From: Chris Pappas Date: Mon, 4 Dec 2023 13:51:29 -0500 Subject: [PATCH 1/2] feat: allow configurable ecommerce version in sandbox --- devops/jobs/CreateSandbox.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devops/jobs/CreateSandbox.groovy b/devops/jobs/CreateSandbox.groovy index f43c70a83..499389c97 100644 --- a/devops/jobs/CreateSandbox.groovy +++ b/devops/jobs/CreateSandbox.groovy @@ -145,7 +145,7 @@ class CreateSandbox { stringParam("forum_version","master","") booleanParam("ecommerce",true,"") - stringParam("ecommerce_version","master","") + stringParam("ecommerce_version",extraVars.get("ECOMMERCE_VERSION","master"),"") booleanParam("ecommerce_decrypt_and_copy_config_enabled",true,"Checking this option will decrypt and copy ecommerce config file from configuration internal repo.") booleanParam("xqueue",false,"") From 4f2f0aa4a0ce5ec86880fbee34be0fdf00e6cc35 Mon Sep 17 00:00:00 2001 From: Chris Pappas Date: Mon, 4 Dec 2023 13:54:26 -0500 Subject: [PATCH 2/2] chore: quality --- devops/jobs/CreateSandbox.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devops/jobs/CreateSandbox.groovy b/devops/jobs/CreateSandbox.groovy index 499389c97..4818cd637 100644 --- a/devops/jobs/CreateSandbox.groovy +++ b/devops/jobs/CreateSandbox.groovy @@ -100,7 +100,7 @@ class CreateSandbox { } - + def ecommerceVersion = extraVars.get("ECOMMERCE_VERSION", "master") parameters { booleanParam("recreate",true,"Checking this option will terminate an existing instance if it already exists and start over from scratch") stringParam("dns_name","", @@ -145,7 +145,7 @@ class CreateSandbox { stringParam("forum_version","master","") booleanParam("ecommerce",true,"") - stringParam("ecommerce_version",extraVars.get("ECOMMERCE_VERSION","master"),"") + stringParam("ecommerce_version",ecommerceVersion,"") booleanParam("ecommerce_decrypt_and_copy_config_enabled",true,"Checking this option will decrypt and copy ecommerce config file from configuration internal repo.") booleanParam("xqueue",false,"")