-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Error when executing AdditionalArguments for AzureRmWebAppDeployment V4.227.0 #18841
Comments
Hi @mathieu-decroocq, seems like the problem started happening after changing the task handler to Node16, we started to use shell: true options because the bug in the node ecosystem when the path contains spaces(e.g. C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe) so you probably need to escape double quotes according to the logic to pass absolutePath's parameter as a string You can add double quotes using the pattern: Sorry for the inconvenience, we'll try to add automatic escaping for such cases in the next versions. |
@DmitriiBobreshev Unfortunately this is a breaking behaviour change across all of our web app deployment pipelines. It's not a simple fix for us to make the suggested alteration, or to revert to an older version of the task. Is there any way the automatic escaping can be put in place ASAP please? |
Hi,
|
We are sorry for the delay in resolving this issue. To mitigate it, we rolled back to an earlier version, 4.225.1, which is not affected by the issue above. If you have any questions or concerns, please let us know. |
@merlynomsft Appreciate the rollback, thank you. Both this issue and #14365 affected us and broke a number of our pipelines unexpectedly, which obviously has been a very poor customer experience as they are critical to our ability to deploy. We're a little confused as to the testing process that has or hasn't taken place here. We are also unsure as to why such a significant move such as migrating to Node 16 that contains behavioural changes was not done as part of a major task version, which probably would have avoided any of these types of problems at all. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Task name
AzureRmWebAppDeploymentV4
Task version
227.0
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows
Task log
Relevant log output
Error: 'Generic' is not recognized as an internal or external command, operable program or batch file.
Aditional info
The text was updated successfully, but these errors were encountered: