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

WinRM role in pipeline execution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: ec2-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.164.1
      EC2Plugin 1.39 (any later just doesn't work for is)
    • Similar Issues:

      Description

      Hi,

       

       

      We have ran into quite a few bugs attempting to upgrade the EC2 Plugin from 1.39 to 1.42.

      I want to report a bug about them, but i want to understand more before i do, so i can raise those bugs correctly.

      I can see that the EC2 Plugin is handling the provisioning of windows slaves through winRM.
      WinRM streams the slave.jar  file to the temp directory and then issues a command to start that.

      But when it comes to issued bat commands from the Jenkins pipeline itself i believe that the communication there is purely between the master and the slave through the jenkins remoting layer (slave.jar to Jenkins master) and winRM has no involvement in the issuing of bat commands. is that an accurate statement?

      Our issues are faced typically half way through the execution of jenkins pipeline when we get timeout exceptions. I want to know if this could have something to do with winRM so i am asking this question first to see if WinRM is at all involved in the pipeline bat executions.

      Also, since the java slave was kicked off by winRShost, what would happen if winRS process died. would this kill the java process as it is a child of winRS?

        Attachments

          Activity

          Hide
          raihaan Raihaan Shouhell added a comment -

          WinRM is involved throughout on the point if winrs dies what happens to the process. Im unsure but your build will fail. The remoting.jar is transferred via SMB

          Show
          raihaan Raihaan Shouhell added a comment - WinRM is involved throughout on the point if winrs dies what happens to the process. Im unsure but your build will fail. The remoting.jar is transferred via SMB

            People

            • Assignee:
              thoulen FABRIZIO MANFREDI
              Reporter:
              alistairgil Alistair Gilbert
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: