IAM AM在Linux Service应用程序上实现CI/CD以部署Angular应用程序,但是我会遇到错误** ## [错误]错误:多个软件包与指定模式匹配:/home/vsts/work/work/works/1/s/s//hath..zip。请限制搜索模式。
trigger:
branches:
include:
- LinuxQA
paths:
include:
- src/CRES.WebClient.V1/*
pool:
vmImage: 'ubuntu-latest'
variables:
buildConfiguration: 'Release'
steps:
- script: echo Hello, world!
displayName: 'Run script for Web'
- script: rm -rf $(Build.ArtifactStagingDirectory)/*.zip
displayName: 'Clean Up Old Artifacts'
- task: UseNode@1
inputs:
version: '14.2.0'
- task: Npm@1
displayName: 'npm install'
inputs:
workingDir: 'src/CRES.WebClient.V1/ClientApp'
verbose: false
- task: Npm@1
displayName: 'npm build'
inputs:
command: custom
workingDir: 'src/CRES.WebClient.V1/ClientApp'
verbose: false
customCommand: 'run build'
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
publishWebProjects: true
projects: 'src/CRES.WebClient.V1/CRES.WebClient.V1.csproj'
workingDirectory: 'src/CRES.WebClient.V1'
- task: AzureRmWebAppDeployment@5
inputs:
ConnectionType: 'AzureRM'
azureSubscription: 'Microsoft Partner Network 3'
appType: 'webApp'
WebAppName: 'qacres5'
packageForLinux: '$(System.DefaultWorkingDirectory)/**/*.zip'
trory要在下面配置yaml管道中的步骤。