我正在开发一种由天蓝色的存储队列触发的天蓝色的功能。对于HTTPTrigger,我们可以在本地调试,但是无法找到在本地调试QueueTrigger的方法。谁能告诉我如何使用QUEUETRIGGER调试本地框运行功能。我在本地机器上有一个存储浏览器,但它写在azure云存储帐户上。
azure azure-deployment azure-debugger azure-api-apps azure-functions
我正在使用Grunt来缩小和连接AngularJS Web应用程序的文件.我们的源代码位于文件共享上,我通过映射驱动器连接到它.每当Grunt在我的源目录上运行时,我的一个concat任务就会出错.错误是"ENOTSUP,套接字不支持操作".如果我复制源,本地,Grunt运行,很好.为了我们的源代码控制,我需要Grunt来监视并运行映射驱动器.concat任务使用grunt-contrib-concat.我已经尝试重新安装Node并将grunt-contrib-concat回滚到版本0.4.0.那没用.任何帮助/想法将不胜感激.
编辑:
Grunt中给出错误的代码是:
jscustom: {
src: ['src/js/*.js', 'src/js/**/*.js', 'build/temp/templates.js'],
dest: 'build/temp/custom.js'
}
Run Code Online (Sandbox Code Playgroud)
如果我从上面的代码中删除"'src/js/**/*.js',"并执行我的Grunt任务,则不会发生ENOTSUP错误.我需要使用那些通配符来包含所有目录和文件.
javascript node.js azure-deployment gruntjs grunt-contrib-concat
我从bitbucket部署了几个azure web应用程序.这一切都很好,从来没有任何问题.自上次提交以来,azure部署现在失败,并出现以下错误:
Command: deploy.cmd
Installing Kudu Sync
D:\local\AppData\npm\kudusync -> D:\local\AppData\npm\node_modules\kudusync\bin\kudusync
kudusync@0.2.3 D:\local\AppData\npm\node_modules\kudusync
??? commander@2.6.0
??? q@1.1.2
??? minimatch@2.0.1 (brace-expansion@1.1.0)
Test
'D:\Program' is not recognized as an internal or external command,
Handling .NET Web Application deployment.
operable program or batch file.
An error has occured during web site deployment.
Run Code Online (Sandbox Code Playgroud)
通常当代码导致部署错误时,我可以通过检查错误来找到根本原因,但这次似乎完全不相关.
以前有人有类似的问题吗?
谢谢
将Azure Web角色部署到云服务时遇到问题。它告诉我错误
此订阅中不提供云服务。
我正在使用Azure上的按需付费订阅。我不知道此订阅对云服务部署是否有任何限制。
。
我需要使用Azure Devops将Asp.Net核心应用程序部署到Azure WebApp。
我有以下工作的Azure-Pipelines YAML文件:
trigger:
- master
variables:
buildConfiguration: 'Release'
buildPlatform: 'any cpu'
version: '0.2.0'
stages:
- stage: 'Stage1'
jobs:
# Previous Jobs like Build, Test, ...
- job: 'Publish'
pool:
vmImage: 'Ubuntu-16.04'
dependsOn: 'Test'
steps:
- task: DotNetCoreCLI@2
displayName: 'Publish'
inputs:
command: publish
publishWebProjects: false
projects: '**/*.csproj'
arguments: '--configuration $(BuildConfiguration) --output $(build.artifactstagingdirectory)'
zipAfterPublish: true
- task: PublishBuildArtifacts@1
displayName: 'Artifact'
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
- task: AzureRmWebAppDeployment@4
displayName: 'Deploy'
inputs:
package: '$(build.artifactstagingdirectory)/App.Api.zip'
azureSubscription: 'MyName.Azure'
appType: 'Web App On Windows'
webAppName: …Run Code Online (Sandbox Code Playgroud) 我有一个Azure DevOps Pipeline,其中包含用于部署ASP.NET Core 3.1项目的Azure 应用服务部署任务 ( ) :AzureRmWebAppDeployment
- task: AzureRmWebAppDeployment@4\n inputs:\n ConnectionType: \'AzureRM\'\n azureSubscription: \'Azure Subscription(01234567-89ab-cdef-0123-456789abcdef)\'\n appType: \'webApp\'\n WebAppName: \'MyStagingSite\'\n packageForLinux: \'$(Build.ArtifactStagingDirectory)/**/*.zip\'\n enableCustomDeployment: true\n DeploymentType: \'webDeploy\'\n enableXmlTransform: false\n enableXmlVariableSubstitution: true\n RemoveAdditionalFilesFlag: false\nRun Code Online (Sandbox Code Playgroud)\n\n但是, Azure应用服务目标包含多个预先建立的文件夹中的文件,这些文件夹的管理独立于持续交付过程。我们想使用“删除目标位置的附加文件”标志(RemoveAdditionalFilesFlag ),同时保持这些文件夹完好无损。
\n\n\n免责声明:我不认为这是最佳实践,将来我们会将这些文件移至单独的存储位置。在那之前,我想找到一个能够解决这个问题的解决方案。
\n
在Visual Studio 2019MsDeploySkipRules中,我们通过使用文件中的以下内容从发布过程中排除这些文件来实现此目的csproj:
- task: AzureRmWebAppDeployment@4\n inputs:\n ConnectionType: \'AzureRM\'\n azureSubscription: \'Azure Subscription(01234567-89ab-cdef-0123-456789abcdef)\'\n appType: \'webApp\'\n WebAppName: \'MyStagingSite\'\n packageForLinux: \'$(Build.ArtifactStagingDirectory)/**/*.zip\'\n …Run Code Online (Sandbox Code Playgroud) continuous-integration webdeploy azure-deployment azure-web-app-service azure-pipelines
在 Azure Devops 中,我有一个带有开发分支的 git 存储库。我们从此分支创建多个功能分支,并通过拉取请求将代码合并到开发中。一旦我们完成拉取请求,工作项目就完成了。各个州都关闭了。
我想阻止这种情况发生。我想保留这些功能分支。我怎样才能做到这一点?
azure azure-deployment azure-devops azure-devops-server-2019
在新AzureDeployment cmdlet中未从-Name参数的值更新部署名称.根据此处的 MSFT文档,-Name参数映射到部署名称,但在我测试时,使用-Name参数值更新了部署唯一名称.而且,我可以使用像'.'这样的特殊字符.和"/"中部署名称直接从门户网站上传包时,但该cmdlet不会让我使用任何特殊字符
想知道是否有人遇到过这个问题?
这是我在使用特殊字符时看到的错误的屏幕截图
新Azuredeployment:HTTP状态代码:BadRequest - HTTP错误消息:部署名称无效

好吧,伙计们,尝试一下 Azure多阶段管道功能,但不太幸运地使用部署作业进行 xml 转换。
更新:这没有使用 Azure DevOps 中的经典部署/发布 UI
到目前为止我所做的:
管道yaml
trigger:
batch: false # If batch set to true, when a pipeline is running, the system waits until the run is completed,
branches:
include:
- staging-devops
paths:
include:
- myProject/*
- API/*
variables:
BuildConfiguration: 'Release'
BuildPlatform: 'Any CPU'
System.Debug: true
stages:
- stage: Build
displayName: 'Build project'
jobs:
- job:
displayName: 'Build and package client'
pool:
vmImage: …Run Code Online (Sandbox Code Playgroud) 我正在准备 AZ-204 考试,并遇到了一系列问题。我正在尝试解决一个问题,它与通过 cli 部署 Web 应用程序有关。我给出的答案在一个地方有所不同,那就是通过主机名绑定az webapp config hostname
这是被问到的问题
Fourth Coffee has an ASP.NET Core web app that runs in Docker. The app is mapped to the www.fourthcoffee.com domain.
Fourth Coffee is migrating this application to Azure.
You need to provision an App Service Web App to host this docker image and map the custom domain to the App Service web app.
A resource group named FourthCoffeePublicWebResourceGroup has been created in the WestUS region that contains an …Run Code Online (Sandbox Code Playgroud) azure-deployment ×10
azure ×7
azure-devops ×3
bitbucket ×1
cmdlets ×1
deployment ×1
git ×1
gruntjs ×1
javascript ×1
node.js ×1
subscription ×1
webdeploy ×1