Beispiel #1
0
 /// <summary>
 /// Get a summary of all the latest jobs that match the given filter.
 /// Aggregation will include a passed/running/failed status for the aggregation
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupBy'>
 /// A list of grouping expressions that will control
 /// the groups of the returned list. All jobs that have the same values for
 /// all provided group parameters will be aggregated into a single entry.
 /// Valid values for the values are : 'job.build'; 'job.properties.*", where *
 /// is any property sent with the job
 /// in the "Properties" value.
 /// </param>
 /// <param name='maxResultSets'>
 /// The maximum number of the first grouping parameter
 /// to return. For example, if your groups were ['job.build',
 /// 'job.properties.config'],
 /// passing 6 will limit the return value to the first 6 builds. Additional
 /// group arguments are not limited.
 /// </param>
 /// <param name='filtercreator'>
 /// The job creator.
 /// </param>
 /// <param name='filtersource'>
 /// The job source.
 /// </param>
 /// <param name='filtertype'>
 /// The job type.
 /// </param>
 /// <param name='filterbuild'>
 /// The build number.
 /// </param>
 /// <param name='filtername'>
 /// The Name/CorrelationId number.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <AggregatedWorkItemCounts> > JobSummaryMethodAsync(this IAggregate operations, IList <string> groupBy, int maxResultSets, string filtercreator = default(string), string filtersource = default(string), string filtertype = default(string), string filterbuild = default(string), string filtername = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.JobSummaryMethodWithHttpMessagesAsync(groupBy, maxResultSets, filtercreator, filtersource, filtertype, filterbuild, filtername, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }