Skip to content

Commit

Permalink
bug: 去除国际化描述信息中的非法占位符信息 TencentBlueKing#11182
Browse files Browse the repository at this point in the history
  • Loading branch information
carlyin0801 committed Nov 12, 2024
1 parent 82e9fae commit a917427
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ object WorkRunner {
ThirdPartyAgentBuildInfoUtils.setBuildInfo(buildInfo)

Runner.run(object : WorkspaceInterface {
val workspace = buildInfo.workspace
val workspace = buildInfo.workspace.trim()
override fun getWorkspaceAndLogDir(
variables: Map<String, String>,
pipelineId: String
Expand Down
2 changes: 1 addition & 1 deletion support-files/i18n/worker/message_en_US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
2130068=From ({0}) to ({1}), Switch pulls code
2130069=Get Svn directory error
2130070=Parameter error
2130071=To run the agent, you need the write permission of the temporary directory of the build machine, please check the permissions of the agent running account: {0}\nYou can check the start account of the devopsAgent process and the specified build account configured by devops.slave.user in the {agent_dir}.agent.properties file (this option is not required, it is set by the user), and if there is one, it can be deleted or modified to the correct account
2130071=To run the agent, you need the write permission of the working directory of the build machine, please check the permissions of the agent running account: {0}
2130072=Unknown error:
2130073=Agent DNS Error
2130074=Agent Network Connect Failed
Expand Down
2 changes: 1 addition & 1 deletion support-files/i18n/worker/message_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
2130068=从({0})变为({1}), switch拉取代码
2130069=获取Svn目录错误
2130070=参数错误
2130071=运行Agent需要构建机临时目录的写权限,请检查Agent运行账号相关权限: {0}\n可以检查devopsAgent进程的启动账号和{agent_dir}/.agent.properties文件中的devops.slave.user配置的指定构建账号(此选项非必须,是由用户设置),如果有可删除或者修改为正确的账号
2130071=运行Agent需要构建机工作目录的写权限,请检查Agent运行账号相关权限: {0}
2130072=未知错误:
2130073=构建机DNS解析问题
2130074=构建机网络连接问题
Expand Down

0 comments on commit a917427

Please sign in to comment.