首页 > 解决方案 > Azure Pipeline FTP 文件模式未按预期工作

问题描述

想要从 ftp 上传中排除 xx.dll 它没有按预期工作。让我知道原因或更正以寻求建议

steps:
- task: FtpUpload@2
  displayName: 'FTP Upload: $(System.DefaultWorkingDirectory)/xx'
  inputs:
    credentialsOption: inputs
    serverUrl: 'xx'
    username: xx
    password: xx
    rootDirectory: '$(System.DefaultWorkingDirectory)/xx'
    filePatterns: |
     !**/xx.dll
     **
    remoteDirectory: /
    cleanContents: true
    preservePaths: true

标签: azureazure-pipelines

解决方案


推荐阅读