• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • grails-plugin
    • None

      My case is to run command "grails tomcat production", but plugin seems to execute each part as separate command (it gives 'grails tomcat' command first, which breaks).

          [JENKINS-16245] Grails plugin - cannot execute two-word command

          Jeff Brown added a comment -

          It sounds like you are not surrounding "tomcat production" with quotes. Is that correct? If you quote them, they should be treated as 1 command with an argument. I hope that makes sense.

          Jeff Brown added a comment - It sounds like you are not surrounding "tomcat production" with quotes. Is that correct? If you quote them, they should be treated as 1 command with an argument. I hope that makes sense.

          Thanks that worked. I missed that the first time due to some other error.

          So the proper way to chain commands seems to be
          > test-app "tomcat undeploy" "tomcat deploy"
          in a single command execution. That's even quite nice.

          Thanks again!

          Wojtek Erbetowski added a comment - Thanks that worked. I missed that the first time due to some other error. So the proper way to chain commands seems to be > test-app "tomcat undeploy" "tomcat deploy" in a single command execution. That's even quite nice. Thanks again!

            jeffg2one jeffg2one
            wojtekerbetowski Wojtek Erbetowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: