how to skip karate tests if url is empty

Viewed 223

I want to skip karate test execution when url is empty. Currently, during the Jenkins execution if karate.env is not passed, I am not setting url/domainName in karate-config.js. In that case, my karate test cases fails due to blank url/hostName. I want to skip all karate test execution if value is not being passed in karate.env system property. Please suggest how can I achieve the above. Thanks

1 Answers
Related