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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a1fe0bc1-3884-40f2-b616-375d8e53d37b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to