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:
PS: “Sofari” was intentionally misspelled
Any ideas on how to run the project successfully using the URL as a Global Variable on Jenkins?