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.
- is related to
-
BAM-12124 Bamboo assumes the windows batch script as an executable when running infile script task
-
- Closed
-
[BAM-12114] Bamboo 4.2 ProcessService error - Unable to find executable at
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 1441798 ] | New: JAC Bug Workflow v3 [ 3384237 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Bamboo Workflow 2016 v1 [ 1418017 ] | New: Bamboo Workflow 2016 v1 - Restricted [ 1441798 ] |
Workflow | Original: Bamboo Workflow 2014 v2 [ 608185 ] | New: Bamboo Workflow 2016 v1 [ 1418017 ] |
Workflow | Original: Bamboo Workflow 2014 [ 597004 ] | New: Bamboo Workflow 2014 v2 [ 608185 ] |
Workflow | Original: Bamboo Workflow 2010 [ 403201 ] | New: Bamboo Workflow 2014 [ 597004 ] |
Fix Version/s | New: 4.3 [ 26590 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
The only problem is incorrect error message and that has been fixed already