Skip to content

Commit

Permalink
add more build result information in build resource (#25930)
Browse files Browse the repository at this point in the history
Co-authored-by: 刘清仪 <liuqingyi@liuqingyideMacBook-Pro.local>
  • Loading branch information
smile37773 and 刘清仪 committed Oct 10, 2023
1 parent bc76ac0 commit ca3ee65
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9330,6 +9330,39 @@
"id": {
"description": "The unique build id of this build result",
"type": "string"
},
"provisioningState": {
"description": "The provisioning state of this build result",
"enum": [
"Queuing",
"Building",
"Succeeded",
"Failed",
"Deleting"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "BuildResultProvisioningState",
"modelAsString": true
}
},
"image": {
"description": "The container image of this build result",
"type": "string"
},
"lastTransitionTime": {
"format": "date-time",
"description": "The last transition time of this build result",
"type": "string"
},
"lastTransitionReason": {
"description": "The last transition reason of this build result",
"type": "string"
},
"lastTransitionStatus": {
"description": "The last transition status of this build result",
"type": "string"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@
"environmentVariable": "test"
},
"triggeredBuildResult": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/buildServices/default/builds/mybuild/results/123"
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/buildServices/default/builds/mybuild/results/123",
"provisioningState": "Queuing",
"image": "acr123.azurec.io/result-123",
"lastTransitionTime": "2021-08-11T03:17:03.944Z",
"lastTransitionReason": "CONFIG",
"lastTransitionStatus": "False"
},
"resourceRequests": {
"cpu": "1",
Expand Down

0 comments on commit ca3ee65

Please sign in to comment.