diff --git a/src/Microsoft.DotNet.Helix/Client/CSharp/generated-code/Models/JobCreationRequest.cs b/src/Microsoft.DotNet.Helix/Client/CSharp/generated-code/Models/JobCreationRequest.cs index a547731f6b8..54a2da52d7a 100644 --- a/src/Microsoft.DotNet.Helix/Client/CSharp/generated-code/Models/JobCreationRequest.cs +++ b/src/Microsoft.DotNet.Helix/Client/CSharp/generated-code/Models/JobCreationRequest.cs @@ -55,6 +55,12 @@ public JobCreationRequest(string type, string listUri, string queueId) [JsonProperty("ResultContainerPrefix")] public string ResultContainerPrefix { get; set; } + [JsonProperty("AzureDevOpsOrganization")] + public string AzureDevOpsOrganization { get; set; } + + [JsonProperty("AzureDevOpsProject")] + public string AzureDevOpsProject { get; set; } + [JsonIgnore] public bool IsValid { diff --git a/src/Microsoft.DotNet.Helix/Sdk/SendHelixJob.cs b/src/Microsoft.DotNet.Helix/Sdk/SendHelixJob.cs index 2012872ad23..e36f745e307 100644 --- a/src/Microsoft.DotNet.Helix/Sdk/SendHelixJob.cs +++ b/src/Microsoft.DotNet.Helix/Sdk/SendHelixJob.cs @@ -267,8 +267,10 @@ protected override async Task ExecuteCore(CancellationToken cancellationToken) Log.LogMessage(MessageImportance.High, $"Sending Job to {TargetQueue}..."); cancellationToken.ThrowIfCancellationRequested(); - // LogMessageFromText will take any string formatted as a canonical error or warning and convert the type of log to this - ISentJob job = await def.SendAsync(msg => Log.LogMessageFromText(msg, MessageImportance.Normal), cancellationToken); + // LogMessageFromText will take any string formatted as a canonical error or warning and convert the type of log to this. + // When queue-stats logging is opted in, elevate to High importance so the summary survives the default 'Minimal' build verbosity. + MessageImportance sendAsyncImportance = EnableShowHelixQueueStats ? MessageImportance.High : MessageImportance.Normal; + ISentJob job = await def.SendAsync(msg => Log.LogMessageFromText(msg, sendAsyncImportance), cancellationToken); JobCorrelationId = job.CorrelationId; JobCancellationToken = job.HelixCancellationToken; cancellationToken.ThrowIfCancellationRequested(); diff --git a/tests/UnitTests.proj b/tests/UnitTests.proj index 2c7fcde4efd..d96251e46e9 100644 --- a/tests/UnitTests.proj +++ b/tests/UnitTests.proj @@ -24,6 +24,8 @@ instead of the in-build Python reporter. The corresponding monitor job is configured in the Arcade pipeline YAML. --> true + + true

AltStyle によって変換されたページ (->オリジナル) /