Details
Description
I have a plugin for Bamboo which uses ProcessService in order to execute a specific custom task,
Here is the command I'm trying to execute:
List<String> command = Lists.newArrayList();
command.add("cmd.exe");
command.add("/c");
command.add("call");
command.add("\"C:
Program Files\\Java\\jdk1.6.0_34\\bin\\java.exe\"");
I'm also adding error lines to my logger:
final ErrorMemorisingInterceptor errorLines = new ErrorMemorisingInterceptor();
logger.getInterceptorStack().add(errorLines);
And when I try to start a build I'm getting a red warning:
Unable to find executable at "cmd,exe"
The exact same code worked prior to Bamboo 4.2, only when I've upgraded my instance i got this.
Attachments
Issue Links
- is related to
-
BAM-12124 Bamboo assumes the windows batch script as an executable when running infile script task
- Closed