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

Invoke-command issue via jenkins pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • pipeline
    • None

      i am triggering powershell script that contain invoke-command code that use to setup Hyper v and run commands on it . However when the script run through Jenkins pipeline it keeps failed with:

      An error has occurred which Windows PowerShell cannot handle. A remote session might have ended.
      + CategoryInfo : OpenError: (:String) [], PSRemotingDataStructureException
      + FullyQualifiedErrorId : PSSessionStateBroken

       

       

      Please note that script run smoothly via powershell ISE.
      tThanks for help,

            Unassigned Unassigned
            adiri86 adir is
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: