I'm trying to implement continuous integration and continuous deployment to my DEV Azure App Service. I'm using the hosted agent on Visual Studio Team Services. The "Deploy Website to Azure" step on my Release definition keeps failing with the error "No package found with specified pattern". Any ideas?
相关问题
- running headless chrome in an microsoft azure web
- Docker task in Azure devops won't accept "$(pw
- Authentication Failure using Git-LFS Azure DevOps
- Register MicroServices in Azure Active Directory (
- Getting error: File extension specified '.webt
相关文章
- Build errors of missing packages in Visual Studio
- Is it possible to do a “destroy history” in TFS?
- SQL Azure Reset autoincrement
- How to cast Azure DocumentDB Document class to my
- VSTS continuous integration triggers not working
- How do I make a TeamCity build appear in the TFS B
- Can't get azure web role to run locally using
- Azure WebApp - Unable to auto-detect the runtime s
if you are using the default azure app service deployment task, add this to end of YAML file:
I had the same issue and this worked for me:
Had the same problem few hours ago. This how I was able to resolve the issue:
Ensure MSBuild arguments in Build solution step are: /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\"
Add step Azure App Service Deployment: ARM
$(build.artifactstagingdirectory)\**\*.zip
Steps:
Azure App Service Deployment Configuration:
"More than one package matched with specified pattern. Please restrain the search patern [sic]." error usually occurs when 2 or more packages were found by the task since you entered "xxx\*.zip" in "Package or Folder" setting of the task. So you just need to update it to specify the detailed package name. Similar question here: Deploy azure website and webjobs in same sln using VSO - Error - There can be only one.
And for you original issue, you can also fix it by creating a new build definition with "Visual Studio" selected on "Build" tab and "Azure WebApp" selected on "Deployment" tab. This will create a build definition with required arugments added.
use the visual designer while creating build pipeline in azure devops,though your code sits at azure repos and github,
then select source
finally pick respective templates to your application
Make sure you didn't tick "Skip artifacts download"