slolife
slolife

Reputation: 19870

How to make a CruiseControl.NET project not-buildable

We'd had a CC.NET project building for a few months now and are ready to move on to the next version. I'd like to leave the project in the CC.NET dashboard, but not allow anyone to do a "Force Build".

Is there a way to config the project to no longer build? I can remove the project triggers, but am looking for a way to stop all future builds.

Upvotes: 2

Views: 135

Answers (2)

Babak Naffas
Babak Naffas

Reputation: 12561

What version are you using? In CCNET 1.6, they introduced the showForceBuildButton attribute for your <project> element.

Upvotes: 2

Pedro
Pedro

Reputation: 12328

If you are using version 1.5 or newer, you can specify project level security and set the forceBuild property to "Deny"

Upvotes: 1

Related Questions