You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
I'm having issues with passwords with space characters in them and not sure what is needed to escape them?
When running the same command as the release task and changing the password variable input to be -password "p@ss w0rd" instead of -password:"p@ss w0rd" it starts working flawlessly.
The text was updated successfully, but these errors were encountered:
aminm-net
added a commit
to aminm-net/my-vsts-tasks
that referenced
this issue
Sep 10, 2020
To fix the issue jabbera#50 raised on May 28 by @luke-barnett
The issue appears on task version 8 as the script generated by the task looks like the following:
MyTopShelfService.exe" install -username "MyUserName" -password:"***"
While the above works perfectly fine in windows command prompt and in older task versions (probably due to a different version in PowerShell there), it fails if you run it with windows PowerShel.
To fix, the final script should be like: (look at the colon instead of space after username switch)
MyTopShelfService.exe" install -username:"MyUserName" -password:"***"
I'm having issues with passwords with space characters in them and not sure what is needed to escape them?
When running the same command as the release task and changing the password variable input to be -password "p@ss w0rd" instead of -password:"p@ss w0rd" it starts working flawlessly.
The text was updated successfully, but these errors were encountered: