I don't think queues will do what you want.

It sounds like you're looking for a server wide "max concurrent  builds"
setting regardless of the project/queue relationship.

 

To the best of my knowledge that doesn't exist in ccnet.  Maybe put in a
request for it.

 

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Sebastien Filion
Sent: Thursday, February 05, 2009 9:22 AM
To: [email protected]
Subject: [ccnet-user] For developpers: Launch an integration even if it is
pending, depending on some conditions.

 

Hi, 

i need a way to launch a pending integration. the reason is that we have an
integration server that is use for the personnals projects from about 10
programmers (about 60 projects that take between 5 minutes and 5 hours). We
do not want that more than 3 integrations to be executed at the same time. I
think that the best way to do this is to implemented a single queue with all
projects but decide how many items on the queue can be executed at the same
time.

Then, i try to modify the code...

Here I a am:

- I declare a variable like _parallalelQueueIntegrationPermitted. 
- So if this value is set to 3, then 3 integrations on the same queue can be
launched.
- But, i can't find the class or the method that i should modify to do this.
Is it IntegrationQueue, IntegrationQueueManager or somethingelse?

Any help or comments will be appreciated.

Reply via email to