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 ]

            The only problem is incorrect error message and that has been fixed already

            Marcin Gardias added a comment - The only problem is incorrect error message and that has been fixed already

            Hi, I have the same problem. I set an executable "label:command - path:cmd /c" in the bamboo agent, when I run a build has the error:

            Unable to find executable at cmd /c

            but the task running ok, and the build was successful.

            Federico Soria Galvarro added a comment - Hi, I have the same problem. I set an executable "label:command - path:cmd /c" in the bamboo agent, when I run a build has the error: Unable to find executable at cmd /c but the task running ok, and the build was successful.

            Yes, it is executed.

            Shay Yaakov added a comment - Yes, it is executed.

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

                Created:
                Updated:
                Resolved: