Groovy script using command.execute() never finishes

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: groovyaxis-plugin
    • Environment:
      Win7, Jenkins 1.451, groovyaxis 0.2

      The groovy script listed below keeps running for ever, without yielding a result. Seen when clicking the "test the groovy script" button.

      def command = ["dir"]
      def proc = command.execute()
      proc.waitFor()
      def output = "${proc.in.text}".split(/\n/)
      return output

            Assignee:
            emanuelez
            Reporter:
            kd Jm
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: