Failed build trigger in team city TeamCity

前端 未结 2 528
借酒劲吻你
借酒劲吻你 2021-02-14 08:44

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

2条回答
  •  迷失自我
    2021-02-14 09:20

    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+Plugin

提交回复
热议问题