Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16245

Grails plugin - cannot execute two-word command

    Details

    • Similar Issues:

      Description

      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).

        Attachments

          Activity

          Hide
          jeffscottbrown 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.

          Show
          jeffscottbrown 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.
          Hide
          wojtekerbetowski 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!

          Show
          wojtekerbetowski 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!

            People

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

              Dates

              • Created:
                Updated:
                Resolved: