yes sorry, it's mistake in the mail it's <namedValue name="Platform" value="PlatformB" />.
I've also tried without the sequential but it's the same it's seems it cannot push two time the same project in the same queue. I've tried quickly force two build with cctray, and it's seems to work I have the two instance of the same build in the Queue. so it's not a limitation on the server side. Any idea how to do this in the Project config. On Jul 19, 11:51 am, "Craig & Sammi Sutherland" <[email protected]> wrote: > I don't know whether it is a type-o in the e-mail, but when I try your > config it says it is invalid. > > The problem is in the second force build: > <namedValue name="Platform" value="Platform /> > > Should it be: > <namedValue name="Platform" value="PlatformB" /> > > BTW, you don't need to wrap it in a sequential task - the <tasks> element > similar to the sequential task. This means you can simplify your config to: > <project name="BuildALL" category="CategoryB" queue="Q2" queuePriority="1" > > <tasks> > <forcebuild> > <project>ProjectA</project> > <parameters> > <namedValue name="Platform" > value="PlatformA" /> > </parameters> > <integrationStatus>Success</integrationStatus> > </forcebuild> > <forcebuild> > <project>ProjectA</project> > <parameters> > <namedValue name="Platform" value="Platform > /> > </parameters> > <integrationStatus>Success</integrationStatus> > </forcebuild> > </tasks> > </project> > > Craig > > > > > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > > Behalf Of Cyrill MIRALLES > Sent: Tuesday, 19 July 2011 8:28 p.m. > To: ccnet-user > Subject: [ccnet-user] force same build with different parameters > > Hi, > I have project used to build some target with parameters > > <project name="A" category="CategoryA" queue="Q1" queuePriority="1" > > <!-- Project definition --> > <parameters> > <selectParameter name="Platform"> > <allowedValues> > <value name="PlatformA">PlatformA</value> > <value name="PlatformB">PlatformB</value> > </allowedValues> > <selectParameter > > <parameters> > </project> > > it works fine when I want to trigger this manually (from > webdashboard) , I have a popup windows allowing me to choose wich platform i > want to build. > > The problem is I want to create another project to be be able to build all > platform , something like that > > <project name="BuildALL" category="CategoryB" queue="Q2" > queuePriority="1" > > <tasks> > <sequential> > <nullTask /> > <forcebuild> > <project>ProjectA</project> > <parameters> > <namedValue name="Platform" > value="PlatformA" /> > </parameters> > > <integrationStatus>Success</integrationStatus> > </forcebuild> > <forcebuild> > <project>ProjectA</project> > <parameters> > <namedValue name="Platform" > value="Platform /> > </parameters> > > <integrationStatus>Success</integrationStatus> > </forcebuild> > </sequential> > </tasks> > </project> > > but in this case it seems that platformB is never build, is there a way to > do this. > thanks.
