I have a cucumber test job validating the contents of a downloaded file.
I am using a processbuilder to call a bat file that's triggering a jarfile, when jenkins get to the try/catch that's holding my processbuilder it just skips it
My Call:
ProcessBuilder pb = new ProcessBuilder("src/Files/test.bat", appName,key,dir).inheritIO();
System.out.println("Report Saved");
pb.start().waitFor()