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

Groovy script using command.execute() never finishes

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • groovyaxis-plugin
    • 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

          [JENKINS-12762] Groovy script using command.execute() never finishes

          Still there in 1.580.1.

          Noël Bardelot added a comment - Still there in 1.580.1.

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

              Created:
              Updated: