From 8439cb3442ae9f58feb393b27d651ac4e778a33a Mon Sep 17 00:00:00 2001
From: Georgi Michev <georgi.michev@vereign.com>
Date: Thu, 7 Jul 2022 20:13:21 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ed32808d..75fe53cf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,10 @@
 variables:
     CUCUMBER_TAG:
-        value: "tsa"
-        description: "This determines which test will be runned. Valid options are - 'cache', 'policy', 'signer', 'task', 'negative'."
+      value: "tsa"
+      description: "Enter which tests to be execute. Other valid options are - 'cache', 'policy', 'signer', 'task', 'negative'."
+    BASE_URL:
+      value: "https://gaiax.vereign.com/tsa"
+      description: "Enter the environment on which the services are deployed."
 
 stages:
   - test
@@ -22,7 +25,7 @@ test:
   tags: 
    - amd64-docker
   script:
-    - gradle regressionSuite -PbaseUrl=https://gaiax.vereign.com/tsa -Dcucumber.tags="@${CUCUMBER_TAG}, not @wip" -Dcourgette.threads=1 -Dcourgette.runLevel=Scenario -Dcourgette.rerunFailedScenarios=false -Dcourgette.rerunAttempts=1
+    - gradle regressionSuite -PbaseUrl=${BASE_URL} -Dcucumber.tags="@${CUCUMBER_TAG}, not @wip" -Dcourgette.threads=1 -Dcourgette.runLevel=Scenario -Dcourgette.rerunFailedScenarios=false -Dcourgette.rerunAttempts=1
   artifacts:
     when: always
     reports:
-- 
GitLab