How do I set up the Copy Files Task in Azure Devops after a VB6 build?

后端 未结 1 397
-上瘾入骨i
-上瘾入骨i 2021-01-28 10:49

In response to this question about making an Azure build pipeline for a VB6 project

I have managed to create the following Build Pipeline so far

pool:
           


        
1条回答
  •  礼貌的吻别
    2021-01-28 11:17

      - task: CopyFiles@2
      inputs:
        SourceFolder: c:\dev\hello
        contents: '**.exe*'
        targetFolder: c:\dev\out2
    

    where c:\dev\hello is the location of the project on the build agent

    [Update]

    And a nicer notation that allows for multiple file types is

    - task: CopyFiles@2
      inputs:
        SourceFolder: c:\dev\hello
        contents:  |
                  *.exe
                  *.dll
        targetFolder: c:\dev\out2
    

    0 讨论(0)
提交回复
热议问题