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

Cannot run Powershell Start-Job with credentials passed from Jenkins

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • powershell-plugin
    • None

      I'm trying to run powershell script with Start-Job inside via Jenkins Windows slave.

      User's credentials are passed into script from Jenkins. 

      In this scenarion job always finished with powershell error:

      The background process reported an error with the following message: .

      12:03:05     + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTransportException

      12:03:05     + FullyQualifiedErrorId : 2100,PSSessionStateBroken

       

      I can't solution for this, so maybe this is a bug.

          [JENKINS-49159] Cannot run Powershell Start-Job with credentials passed from Jenkins

          Pavel Polushin created issue -
          Pavel Polushin made changes -
          Description Original: I'm trying to run powershell script with Start-Job inside via Jenkins Windows slave.

          User's credentials is stored at Jenkins. 

          Job always finished with powershell error:

          The background process reported an error with the following message: .

          *12:03:05*     + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTransportException

          *12:03:05*     + FullyQualifiedErrorId : 2100,PSSessionStateBroken

           

          I can't solution for this, so maybe this is a bug.
          New: I'm trying to run powershell script with Start-Job inside via Jenkins Windows slave.

          User's credentials are passed into script from Jenkins. 

          In this scenarion job always finished with powershell error:

          The background process reported an error with the following message: .

          *12:03:05*     + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTransportException

          *12:03:05*     + FullyQualifiedErrorId : 2100,PSSessionStateBroken

           

          I can't solution for this, so maybe this is a bug.
          Pavel Polushin made changes -
          Assignee New: Pavel Polushin [ pawell ]
          Pavel Polushin made changes -
          Assignee Original: Pavel Polushin [ pawell ]
          Pavel Polushin made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Pavel Polushin made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]

            Unassigned Unassigned
            pawell Pavel Polushin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: