Hi

so suppose you have 10 projects
and you want the user to press a button 'somewhere' on the dashboard.
This shows the 10 projects, and he can than choose which ones to build, AND
determine the order?

correct?

I would do the following :
° Add 1 extra project to ccnet.config, which the user has to 'build'
° this would make the query to the user and do the force builds of the
projects in the specified order
   (the build order makes it harder)


how to ask the user which projects to build :
I would write a custom task for it, that uses dynamic parameters
since I've not used dynamic parameters before, I can not help further, but I
do think it's the way to go.

you can read more at the following :

http://www.cruisecontrolnet.org/projects/ccnet/wiki/Dynamic_Values
http://csut017.wordpress.com/2009/01/02/passing-dynamic-parameters-part-1-the-server/
http://csut017.wordpress.com/2009/01/04/passing-dynamic-parameters-part-3-web-dashboard/


with kind regards
Ruben Willems

On 24 October 2011 23:50, Robert Bohar <[email protected]> wrote:

> Hello,
>
> Does anyone know of a way of customizing the dashboard to allow the
> user to select which projects to build and have them run sequentially
> without any user input?
>
> If that is not possible, I'm also considering writing a small program
> that would present a similar interface to the user and then generate a
> CruiseControl.NET config file that would include all of the projects
> the user selected.  In other words, the scripts would be generated on
> the fly each time a build is needed.  However, I'm having a problem
> because each project has it's own CCNETLABEL.  As far as I'm aware,
> the CCNETLABEL is only incremented once per build and it's possible my
> script might have multiple projects in it.
>
> Any ideas how to approach this?
> Thanks.
> Rob

Reply via email to