You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Link the GitHub or AzDO issue this pull request is associated with.
Please copy and paste the full URL rather than using the
dotnet/arcade-services# syntax -->
#4459
Copy file name to clipboardExpand all lines: src/ProductConstructionService/Microsoft.DotNet.ProductConstructionService.Client/ProductConstructionServiceApi.cs
Copy file name to clipboardExpand all lines: src/ProductConstructionService/ProductConstructionService.Api/Api/v2018_07_16/Controllers/SubscriptionsController.cs
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ private async Task EnqueueUpdateSubscriptionWorkItemAsync(Guid subscriptionId, i
171
171
else
172
172
{
173
173
// Update using the latest build
174
-
subscriptionToUpdate=
174
+
varsubscriptionAndBuild=
175
175
(fromsubin_context.Subscriptions
176
176
wheresub.Id==subscriptionId
177
177
letlatestBuild=
@@ -180,7 +180,13 @@ private async Task EnqueueUpdateSubscriptionWorkItemAsync(Guid subscriptionId, i
Copy file name to clipboardExpand all lines: src/ProductConstructionService/ProductConstructionService.Api/Configuration/SubscriptionTriggerConfiguration.cs
+16-6Lines changed: 16 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ public static void TriggerSubscriptionOnNewBuild(IInsertedEntry<BuildChannel, Db
logger.LogInformation("Skipping subscription {subscriptionId} triggering for Build {buildId} because the build has no assets and the subscription is not source enabled",
54
+
subscription.Id,
55
+
entity.BuildId);
56
+
continue;
57
+
}
58
+
59
+
logger.LogInformation("Triggering subscription {subscriptionId} with build {buildId}",
0 commit comments