public void PublishToBuildServer(IEnumerable <ITaskItem> items)
 {
     // detects if we are running within the context of a recognised build sever such as team city, and if so,
     // informs that system via console.out of the produced zip file.
     if (_buildServer != null)
     {
         foreach (var item in items)
         {
             var fileInfo = new FileInfo(item.ItemSpec);
             _buildServer.NewBuildArtifact(fileInfo);
         }
     }
 }