diff --git a/src/backend/ci/core/dockerhost/biz-dockerhost/src/main/kotlin/com/tencent/devops/dockerhost/services/image/ImageBuildHandler.kt b/src/backend/ci/core/dockerhost/biz-dockerhost/src/main/kotlin/com/tencent/devops/dockerhost/services/image/ImageBuildHandler.kt index c9bcd4172e0..99bb852cf2d 100644 --- a/src/backend/ci/core/dockerhost/biz-dockerhost/src/main/kotlin/com/tencent/devops/dockerhost/services/image/ImageBuildHandler.kt +++ b/src/backend/ci/core/dockerhost/biz-dockerhost/src/main/kotlin/com/tencent/devops/dockerhost/services/image/ImageBuildHandler.kt @@ -79,9 +79,11 @@ class ImageBuildHandler( args.map { it.trim().split("=") }.forEach { step.withBuildArg(it.first(), it.last()) } - step.exec(MyBuildImageResultCallback(buildId, pipelineTaskId, dockerHostBuildApi)) + val imageId = step.exec(MyBuildImageResultCallback(buildId, pipelineTaskId, dockerHostBuildApi)) .awaitImageId() + logger.info("==========imageId: $imageId") + nextHandler.get()?.handlerRequest(this) } }