File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -414,9 +414,26 @@ public override bool Execute()
414
414
var csprojMap = ReadMapFile ( CsprojMapFilePath , "CsprojMapFilePath" ) ;
415
415
416
416
Console . WriteLine ( string . Format ( "FilesChanged: {0}" , FilesChanged . Length ) ) ;
417
- if ( FilesChanged != null && FilesChanged . Length > 0 )
417
+ if ( FilesChanged != null )
418
418
{
419
- return ProcessFileChanged ( csprojMap ) ;
419
+ if ( FilesChanged . Length > 0 )
420
+ {
421
+ return ProcessFileChanged ( csprojMap ) ;
422
+ }
423
+ else
424
+ {
425
+ Dictionary < string , HashSet < string > > influencedModuleInfo = new Dictionary < string , HashSet < string > >
426
+ {
427
+ [ BUILD_PHASE ] = new HashSet < string > ( ) { ACCOUNT_MODULE_NAME } ,
428
+ [ ANALYSIS_BREAKING_CHANGE_PHASE ] = new HashSet < string > ( ) { ACCOUNT_MODULE_NAME } ,
429
+ [ ANALYSIS_DEPENDENCY_PHASE ] = new HashSet < string > ( ) { ACCOUNT_MODULE_NAME } ,
430
+ [ ANALYSIS_HELP_PHASE ] = new HashSet < string > ( ) { ACCOUNT_MODULE_NAME } ,
431
+ [ ANALYSIS_SIGNATURE_PHASE ] = new HashSet < string > ( ) { ACCOUNT_MODULE_NAME } ,
432
+ [ TEST_PHASE ] = new HashSet < string > ( ) { ACCOUNT_MODULE_NAME }
433
+ } ;
434
+ FilterTaskResult . PhaseInfo = CalculateCsprojForBuildAndTest ( influencedModuleInfo , csprojMap ) ;
435
+ return true ;
436
+ }
420
437
}
421
438
else if ( ! string . IsNullOrWhiteSpace ( TargetModule ) )
422
439
{
You can’t perform that action at this time.
0 commit comments