在TeamCity中使用CMake建立问题

时间:2018-08-31 07:22:33

标签: cmake teamcity

我已经安装了Cmake Plugin,以便能够使用TeamCity构建我的C / C ++项目。但是,到目前为止,我没有成功完成该项目的运气。构建服务器和代理在单独的Docker容器上运行。构建失败,并出现以下错误:

[14:09:29] Step 1/1: DebugBuild (CMake build)
[14:09:29]   [Step 1/1] Starting: /bin/bash -c "cmake "$@" 2>&1" -- --build . --target suite_1_app --config Debug --
[14:09:29]   [Step 1/1] in directory: /opt/buildagent/work/3249fc82f6dadd5
[14:09:29]   [Step 1/1] --: cmake: command not found
[14:09:29]   [Step 1/1] Process exited with code 127
[14:09:30]   [Step 1/1] Process exited with code 127 (Step: DebugBuild (CMake build))
[14:09:30]   [Step 1/1] Step DebugBuild (CMake build) failed
[14:09:30] Publishing internal artifacts
[14:09:30] Build finished

这是我在构建步骤中使用的配置:

  • 流道类型:Cmake构建
  • 步骤名称:DebugBuild
  • 构建目标:suite_1_app
  • 配置:调试

任何帮助将不胜感激!

0 个答案:

没有答案