I am having a Config Parameter in my settings.kts
select(
            name = "TEST_TYPE",
            value = "",
            label = "TEST_TYPE",
            description = "Type of Test(s)",
            display = ParameterDisplay.PROMPT,
            readOnly = false,
            allowMultiple = false,
            options = listOf("E2E-TESTS", "API-TESTS")
        )
When I try to access it, it returns the correct option I have chosen.
steps {
 script {
            scriptContent = "echo %TEST_TYPE%"
        }
}
prints -> E2E-TESTS
But when I try to modify/manipulate the value, it actually returns the label instead of the option I have chosen.
script {
            var test = "%TEST_TYPE%".length
            scriptContent = "echo $test"
        }
prints -> 11 as there are 11 characters in %TEST_TYPE%.
I could not even perform any conditional operations as well.
I don't know why. This is weird and totally blocked by this. Any help will be handy.