-
Bug
-
Resolution: Unresolved
-
Minor
-
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.
I've run into apparently similar issue (going by the error message), although I simply hardcoded the credentials into the script itself.
After reading this, I changed the username format from user to \user and the remote command executed without issues.