Is there a way to make CCTray popup a confirmation dialog box when I click ForceBuild for a project?

有帮助吗?

解决方案

The setting is called askForForceBuildReason and documentation on it is located at http://confluence.public.thoughtworks.org/display/CCNET/Project+Configuration+Block

example is:

<project name="Project name"
    description="Project description"
    askForForceBuildReason="required">

    ....

</project>

used in the ccnet.config file

其他提示

You can get CCTray to prompt you, I believe, By setting the askForForceBuildReason property to optional or required on a project.

As I understand it, CCTray will then prompt you for a reason.

Its not a confirmation, but does act as a prompt before forcing the build

Example:

<project name="name">
  <askForForceBuildReason>required</askForForceBuildReason>

   snip

</project>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top