azure-pipelines-tasks-webdeployment-common 4.226.0 → 4.227.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -171,8 +171,9 @@ function executeMSDeploy(msDeployCmdArgs) {
171
171
  for (var i = 0; i < msDeployCmdArgs.length; i++) {
172
172
  tl.debug("arg#" + i + ": " + msDeployCmdArgs[i]);
173
173
  }
174
- // for windowsVerbatimArguments: false see https://github.com/microsoft/azure-pipelines-tasks/issues/17634
175
- yield tl.exec("msdeploy", msDeployCmdArgs, { failOnStdErr: true, errStream: errObj, windowsVerbatimArguments: false });
174
+ // set shell: true because C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe has folder with spaces
175
+ // see https://github.com/microsoft/azure-pipelines-tasks/issues/17634
176
+ yield tl.exec("msdeploy", msDeployCmdArgs, { failOnStdErr: true, errStream: errObj, windowsVerbatimArguments: true, shell: true });
176
177
  deferred.resolve("Azure App service successfully deployed");
177
178
  }
178
179
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azure-pipelines-tasks-webdeployment-common",
3
- "version": "4.226.0",
3
+ "version": "4.227.0",
4
4
  "description": "Common Lib for MSDeploy Utility",
5
5
  "repository": {
6
6
  "type": "git",