Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-12114

Bamboo 4.2 ProcessService error - Unable to find executable at

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.3
    • 4.2
    • Plugins, Tasks, Windows
    • None
    • 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.

            [BAM-12114] Bamboo 4.2 ProcessService error - Unable to find executable at

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1441798 ] New: JAC Bug Workflow v3 [ 3384237 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1418017 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1441798 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 608185 ] New: Bamboo Workflow 2016 v1 [ 1418017 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 597004 ] New: Bamboo Workflow 2014 v2 [ 608185 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 403201 ] New: Bamboo Workflow 2014 [ 597004 ]
            Marcin Gardias made changes -
            Fix Version/s New: 4.3 [ 26590 ]
            Marcin Gardias made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            James Dumay made changes -
            Link New: This issue is related to BAM-12124 [ BAM-12124 ]
            James Dumay made changes -
            Component/s New: Windows and .NET [ 13990 ]
            James Dumay made changes -
            Component/s New: Plugins [ 12003 ]
            Component/s New: Tasks [ 11224 ]
            Shay Yaakov created issue -

              Unassigned Unassigned
              0aed5ba6f7bc Shay Yaakov
              Affected customers:
              1 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: