Data Sink - "java.lang.Exception: Failed to prepare the step [DataSink]" when run through Jenkins
I am using file path from groovy script instead of hardcoding it in data sink output folder, since I have multiple environment and I can not hard code output file to avoid overwriting same file again and again.
It works fine when I ran locally. But it fails when I run through Jenkins. Please see attached screen shot for my test and jenkins error.
I am using ReadyAPI2.3.0. All other projects where sink data file is hard coded working from thorugh Jenkins.