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

'Restrict where this promotion process can be run' doesn't work for new groovy process

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • groovy-plugin
    • None
    • Hudson Groovy builder: 1.20
      promoted builds plugin: 2.17
      Jenkins: 1.583
      Groovy: groovy-2.4.0-beta-2
      host: Windows 2013R2 Server

      I'm using 'Restrict where this process can be run' option together with 'Execute system groovy script' as an action.

      The script executes on the specific host, but when I create a groovy process:

       
      cmd = ("ipconfig /all").execute()
      cmd.consumeProcessOutput(out, err)
      cmd.waitFor()
      
      println out
      println err
      
      

      The new created process is running on the Jenkins host, not on the required node.

          [JENKINS-26880] 'Restrict where this promotion process can be run' doesn't work for new groovy process

          There are no comments yet on this issue.

            Unassigned Unassigned
            pawelgrz Pawel Grzegrzolka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: