diff --git a/src/backend/ci/core/environment/api-environment/src/main/kotlin/com/tencent/devops/environment/constant/EnvironmentMessageCode.kt b/src/backend/ci/core/environment/api-environment/src/main/kotlin/com/tencent/devops/environment/constant/EnvironmentMessageCode.kt index 7c47df98395c..e7f1ef7dd354 100644 --- a/src/backend/ci/core/environment/api-environment/src/main/kotlin/com/tencent/devops/environment/constant/EnvironmentMessageCode.kt +++ b/src/backend/ci/core/environment/api-environment/src/main/kotlin/com/tencent/devops/environment/constant/EnvironmentMessageCode.kt @@ -104,6 +104,7 @@ object EnvironmentMessageCode { const val ERROR_JOB_INSTANCE_NOT_BELONG_TO_PROJECT = "2105054" // 环境管理: 请求的job实例不属于当前项目或已过期(超过一个月) const val ERROR_FAIL_TO_CREATE_AGENT_INSTALL_TASK = "2105055" // 环境管理: 创建Agent安装任务失败:{0} const val ERROR_INPUT_TOO_MANY_IP = "2105056" // 环境管理: 输入的IP数量不可超过{0} + const val ERROR_NODE_NOT_BELONG_TO_PROJECT = "2105057" // 环境管理: IP {0} 未被作为节点导入项目 {1},请到【环境管理-节点】导入测试机后重试 const val BK_NORMAL_VERSION = "bkNormalVersion" // 8核16G(普通版) const val BK_INTEL_XEON_SKYLAKE_PROCESSOR = "bkIntelXeonSkylakeProcessor" // 2.5GHz 64核 Intel Xeon Skylake 6133处理器 diff --git a/support-files/i18n/environment/message_en_US.properties b/support-files/i18n/environment/message_en_US.properties index fb8f6de77f79..a4ca2ed001e6 100644 --- a/support-files/i18n/environment/message_en_US.properties +++ b/support-files/i18n/environment/message_en_US.properties @@ -55,6 +55,7 @@ 2105054=Environment Management: The job instance you have queried doesn't belong to the current project or more than one month. 2105055=Environment Management: Fail to create GSE Agent install task:{0}. 2105056=Environment Management: Input ip num cannot exceed {0}. +2105057=Environment Management: IP {0} has not been imported as a node in project '{1}'. Please go to [Environment Management - Nodes] to import the test machine and try again bkEstimatedDeliveryTime=Estimated delivery time: {0} minutes bkHighEndVersion=32-core 64G (high-end version) bkIntelXeonSkylakeProcessor=2.5GHz 64-core Intel Xeon Skylake 6133 processor diff --git a/support-files/i18n/environment/message_zh_CN.properties b/support-files/i18n/environment/message_zh_CN.properties index 471c2c75936d..1674037e9507 100644 --- a/support-files/i18n/environment/message_zh_CN.properties +++ b/support-files/i18n/environment/message_zh_CN.properties @@ -55,6 +55,7 @@ 2105054=环境管理: 请求的job实例不属于当前项目或已过期(超过一个月) 2105055=环境管理: 创建Agent安装任务失败:{0} 2105056=环境管理: 输入的IP数量不可超过{0} +2105057=环境管理: IP {0} 未被作为节点导入项目 {1},请到【环境管理-节点】导入测试机后重试 bkEstimatedDeliveryTime=预计交付周期: {0}分钟 bkHighEndVersion=32核64G(高配版) bkIntelXeonSkylakeProcessor=2.5GHz 64核 Intel Xeon Skylake 6133处理器