Jenkins does not recognize a URL set as a Global Variable

Hi guys,

I have set up a Global variable in my project which is set to an internal site’s URL.
The project runs successfully on local however on Jenkins, it fails to run with reason:
java.lang.IllegalArgumentException: Text must not be null or empty

After hard coding the URL in the WS, it then ran successfully on Jenkins

Image displays the Global Variable being used in the WS:
image

PS: “Sofari” was intentionally misspelled :wink:

Any ideas on how to run the project successfully using the URL as a Global Variable on Jenkins?

Kind regards
Ross

@here Hi
Any assistance on this will welcomed

Many thanks

https://${GlobalVariable.NAME}/Token