diff --git a/src/main/kotlin/xquare/app/xquareinfra/domain/container/adapter/dto/response/GetContainerDeployHistoryResponse.kt b/src/main/kotlin/xquare/app/xquareinfra/domain/container/adapter/dto/response/GetContainerDeployHistoryResponse.kt index 330cc0e..fbb37c3 100644 --- a/src/main/kotlin/xquare/app/xquareinfra/domain/container/adapter/dto/response/GetContainerDeployHistoryResponse.kt +++ b/src/main/kotlin/xquare/app/xquareinfra/domain/container/adapter/dto/response/GetContainerDeployHistoryResponse.kt @@ -13,5 +13,5 @@ data class DeployHistoryResponse( data class StageStatus( val name: String, - val isSuccessful: Boolean + val status: String ) \ No newline at end of file diff --git a/src/main/kotlin/xquare/app/xquareinfra/domain/container/application/service/GetContainerDeployHistoryService.kt b/src/main/kotlin/xquare/app/xquareinfra/domain/container/application/service/GetContainerDeployHistoryService.kt index b8418f8..846508e 100644 --- a/src/main/kotlin/xquare/app/xquareinfra/domain/container/application/service/GetContainerDeployHistoryService.kt +++ b/src/main/kotlin/xquare/app/xquareinfra/domain/container/application/service/GetContainerDeployHistoryService.kt @@ -32,7 +32,7 @@ class GetContainerDeployHistoryService( stages = it.stages.map { StageStatus( name = it.name, - isSuccessful = it.status == "Passed" + status = it.status ) }.toList(), commitMessage = it.buildCause.materialRevisions[0].modifications.get(0).comment