Hello,
I've a jar file on my local machine. I have shell script ready to execute it. If I run that shell script locally, it works completely fine but whenever I try to run that from jenkins it gives me error.
Just FYI,
In jenkins for now I am pointing a jar file location to my local machine's location.
#!/bin/bash
cd C://Users//XYZ//comparePFTRuns
mvn exec:java -Dexec.mainClass="com.example.MainClass"
Please let me know how can I do this?
Thanks,
Neel Desai