团队城市 TeamCity 中的构建触发器失败 [英] Failed build trigger in team city TeamCity

查看:31
本文介绍了团队城市 TeamCity 中的构建触发器失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以触发 exe 在失败的构建上运行?你能在 Team City 内做到这一点吗?

Is it possible to Trigger an exe to run on a failed build? Can you do this within Team City?

推荐答案

如果你特别想要失败的构建,你可以像 Eric 所说的那样设置依赖构建,并让辅助构建脚本使用 REST API 来拉出一个列表实际项目的失败构建.

If you specifically want the failed builds, you can set up the dependent build as Eric said, and have that secondary buildscript use the REST API to pull up a list of the failed builds for the actual project.

如果最新的构建在失败的构建列表中,则告诉构建脚本运行可执行文件.如果没有,那么你就完成了!

If the latest build is in that failed builds list, then tell the build script to run the executable. If not, then you're all done!

http://confluence.jetbrains.net/display/TW/REST+API+插件

这篇关于团队城市 TeamCity 中的构建触发器失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆