Get list of files from tfs changeset

后端 未结 2 1346
孤城傲影
孤城傲影 2021-01-25 13:24

I need to get a list of changed files from chageset only and exclude all other junk.

I can get this information from the command tf changeset /i $(changesetnumber) but b

2条回答
  •  庸人自扰
    2021-01-25 13:39

    You could use CCNET's Modification Writer Task. Put it to your CCNET configuration's section and process the generated file in your task:

    
      
        
          
        
        
        
      
      
        
          
        
        
          
        
        
      
    
    

    Note: I'm not really experienced in MSBuild so any advice on how to parse the XML output in a more elegant way is highly appreciated.

    Hint: task requires .NET 4.0 MSBuild.

提交回复
热议问题