Question

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

Était-ce utile?

La solution

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

Autres conseils

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>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top