Reputation: 5510
I worked on DevOps with VSTS. Currently I used the “PowerShell” Task to run the PowerShell script. But unfortunately my VSTS repository name having space (for example “WebApp Demo”), that’s why I am getting the issue while executing the PowerShell script at VSTS release level.
[error] Process completed with exit code 0 and had 1 error(s) written to the error stream.
PowerShell Task configuration in VSTS release definition
For resolving the above error I followed so many blogs but issue will be the same.
Upvotes: 3
Views: 464
Reputation: 33698
Based on the log, you the value of ConfigFilePath is the path that contains space.
Change argument to:
-webConfigFilePath "$(ConfigFilePath)"
Upvotes: 2