1

在构建服务器上成功构建后,我试图让 TeamCity 清除远程服务器上的发布目录。我希望它像构建服务器上的干净结帐一样工作。工作流程应该是:

  1. 查看
  2. 建造
  3. 清除发布目录
  4. 将成功的构建文件发布到发布目录
4

1 回答 1

-1

In TeamCity 8.x, workflows like this can be done using the conditional-execute option on build steps within a config. Your "Clear Publish Directory" build step could set the "Execute step:" option to "If all previous steps finished successfully (zero exit code)". And similarly for build step 4.

于 2014-01-23T20:41:12.483 回答