Bamboo 4.2 ProcessService error - Unable to find executable at

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 4.3
    • Affects Version/s: 4.2
    • Component/s: Plugins, Tasks, Windows
    • None
    • Environment:

      Bamboo 4.2, Tomcat7, Maven3.0.4, jdk1.6.0_34

      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.

            Assignee:
            Unassigned
            Reporter:
            Shay Yaakov
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: