« Return to Thread: test
Hi,
I have the following project in cruise control which end up
to be a dailybuild at 18:00 only if something changed in the repository. Now, I
want to make it to build twice a day once at launchtime 12:00 and once at
18:00. Keeping the restriction that I need at least one modification.
<project
name="Main-DailyBuild-All" requireModification="true">
<P4labelincrementer
port="${p4.port}" client="${p4.client}"
user="${p4.user}" passwd="${p4.passwd}"
view="${p4.view.scripts}" noSync="true"/>
<modificationset
ignoreFiles="vp_changelist.h">
<p4
port="${p4.port}" client="${p4.client}"
user="${p4.user}" passwd="${p4.passwd}"
view="${p4.view.code}" />
</modificationset>
<schedule>
<ant
buildfile="${CruiseControl.dir}\wrapper.xml"
target="cleanbuild" time="1800">
<property name="build.target" value="build_all_dev"/>
</ant>
</schedule>
</project>
There’s this solution that I came with, but it doesn’t work
<modificationset
ignoreFiles="vp_changelist.h">
<p4 port="${p4.port}"
client="${p4.client}" user="${p4.user}"
passwd="${p4.passwd}" view="${p4.view.code}" />
<timebuild username="bldadmin" time="1200"/>
<timebuild username="bldadmin" time="1800"/>
</modificationset>
And this solution and I am going to try it today. I am still
waiting to see if it will work.
<modificationset>
<p4 port="${p4.port}"
client="${p4.client}" user="${p4.user}"
passwd="${p4.passwd}" view="${p4.view.code}" />
</modificationset>
<schedule>
<composite>
<ant
buildfile="${CruiseControl.dir}\wrapper.xml"
target="cleanbuild" time="1200">
<property name="build.target"
value="build_all_dev" />
</ant>
<ant
buildfile="${CruiseControl.dir}\wrapper.xml"
target="cleanbuild" time="1800">
<property name="build.target"
value="build_all_dev" />
</ant>
</composite>
</schedule>
Any suggestion will be appreciated
Thanks
Bassem
--
Bassem Srouji
Sr. Software Developer | Presagis
T. +1 514 341.3874 X322 F. +1 514 341.8018
Visit Presagis at booth #2501 at I/ITSEC 2008
DISCLAIMER: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and/or proprietary information. Do not read, copy, or disseminate this message unless you are the addressee. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail and delete the original and any copies from your system.
AVERTISSEMENT : Ce courriel s’adresse exclusivement au(x) destinataire(s) mentionné(s) et peut contenir de l’information confidentielle et/ou de nature exclusive. Ne pas lire, copier ou transmettre à quiconque ce courriel sauf si vous en êtes le destinataire. Il est strictement interdit de réviser, utiliser, transmettre ou distribuer ce courriel sans autorisation préalable. Si vous avez reçu ce message par erreur, veuillez communiquer avec l’expéditeur en répondant à ce courriel et en supprimant le courriel original et toutes les copies enregistrées sur votre système.
« Return to Thread: test
| Free embeddable forum powered by Nabble | Forum Help |