VSTS Web Deploy Arguments produce error

0 votes

I'm deploying an Angular JS app using web deploy on VSTS. I'm also trying to target a specific path on the Azure app service, specifically /home/site/ to deploy the project files.

If not specified, the app will just deploy to /home/site/wwwroot/

To target this specific path, I'm using arguments, here is the argument:

-verb:sync -source:contentPath="$(System.DefaultWorkingDirectory)/Atlas-CI-Develop/atla s-ui/*.zip" -dest:contentPath="D:\home\site\PS.UI"
This is the only place I’m using the attribute verb, source or dest.
I’m getting an error
2017-12-18T20:45:27.4283104Z ##[error]Error: Argument '-verb' may only be specified once.
Jul 23, 2018 in DevOps on Cloud by Hannah
• 18,520 points
750 views

1 answer to this question.

0 votes

You can’t specify the -verb parameter if you’ve already used it once in build/release task.

Also -dest, -source will already be specified in the code of build/release task, You just the include them in the task UI.

Regarding the target path, you can add new virtual directory to Azure app service (Application settings=> Virtual applications and directories), then specify Virtual application in Azure App Service Deploy task.

answered Jul 23, 2018 by Kalgi
• 52,350 points

Related Questions In DevOps on Cloud

0 votes
1 answer
0 votes
1 answer

How to deploy compiled elements Azure Web App with Appveyor?

Add the following BeforeBuild target to Web ...READ MORE

answered Jul 12, 2018 in DevOps on Cloud by Kalgi
• 2,680 points
873 views
+3 votes
2 answers
+2 votes
3 answers

How do I deploy Scala PlayFramework Project to IBM Bluemix

It seems that they are more than ...READ MORE

answered Oct 18, 2018 in DevOps on Cloud by lina
• 8,220 points
1,228 views
0 votes
1 answer
0 votes
1 answer

how to safely deploy npm install without it causing inconsistencies?

The recent versions on npm generates a ...READ MORE

answered Apr 11, 2018 in DevOps on Cloud by DareDev
• 6,890 points
983 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP