Re: stop initial build

William Juroff <[email protected]> Mon, 1 Jul 2013 06:10:03 -0500
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CANLf9MNUk4zSZOSiq8GWBVQKDHHHvRDF+NSgMaQ-Uae+t2d0Bg@mail.gmail.com>
--===============6212057309425486574==
Content-Type: multipart/alternative; boundary=089e0153746a33a3b504e0714500

--089e0153746a33a3b504e0714500
Content-Type: text/plain; charset=ISO-8859-1

There is an attribute on project called forceBuildNewProject (true/false)
that if set to false will not build the project first time due not finding
a .ser file.

Give it a shot and see if it does what you are looking for.

William Juroff
On Sunday, June 30, 2013, DEV Bornali wrote:

>  Hi,****
>
> ** **
>
> I am using cruisecontrol 2.8.4.****
>
> I have the below config file for the test project.****
>
> How can I ensure that when a project/config.xml is created for the first
> time, the project should not automatically go into the build queue.****
>
> Somehow, even when there are no changes in the project, it still ends up
> building (the first build). How can I prevent that?****
>
> I want to be able to trigger the first build when I want, is this possible?
> ****
>
> ** **
>
> ** **
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>****
>
> ** **
>
> <cruisecontrol>****
>
>   <project name="TestCC" buildafterfailed="false"
> requireModification="false">****
>
>     <property name="workspaceBaseDir"
> value="${scratchDisk}\workspace\TestCC"/>****
>
>     <property name="labelBase" value="TestCC-build" />****
>
>     <property name="cvs-branch" value=" "/>****
>
>     <property name="buildDirectoryBaseDir"
> value="${scratchDisk}\builds\${labelBase}"/>****
>
>     <property name="cc-config-basedir" value="D:\data"/>           ****
>
>     ****
>
>     <property name="TestCCBaseDir"
> value="${centralBuildSupportBaseDir}\TestCC.pdebuilder"/> ****
>
>       ****
>
>     ****
>
>     <labelincrementer****
>
>     defaultLabel="run.1" separator="." /> ****
>
>     <bootstrappers>****
>
>       <cvsbootstrapper localWorkingCopy="${cc-config-basedir}" />****
>
>     </bootstrappers>****
>
>     <modificationset>****
>
>       <alwaysbuild username="[email protected]<javascript:_e({}, 'cvml', '[email protected]');>
> "/>****
>
>     </modificationset>****
>
>             ****
>
>             <schedule interval="31536000">****
>
>                         <ant antWorkingDir="${TestCCBaseDir}"
> buildfile="${TestCCBaseDir}\build.xml"/>****
>
>             </schedule>****
>
>                         ****
>
>     <publishers>****
>
>       <htmlemail>****
>
>         <always address="[email protected] <javascript:_e({},
> 'cvml', '[email protected]');>"/>    ****
>
>         <parameter name="xslt.viewcvs.url" value="http://cvs/viewvc/"/>***
> *
>
>         <parameter name="cvstagdiff.success.show" value="true"/>****
>
>       </htmlemail>****
>
>     </publishers>****
>
>   </project>****
>
> </cruisecontrol>****
>
> ** **
>
> [image: Logo]
>
> Before printing, please consider the environment
>
> IMPORTANT NOTICE: This e-mail and any attachment to it are intended only
> to be read or used by the named addressee. It is confidential and may
> contain legally privileged information. No confidentiality or privilege is
> waived or lost by any mistaken transmission to you. Roads and Maritime
> Services (RMS) is not responsible for any unauthorised alterations to this
> e-mail or attachment to it. Views expressed in this message are those of
> the individual sender, and are not necessarily the views of RMS. If you
> receive this e-mail in error, please immediately delete it from your system
> and notify the sender. You must not disclose, copy or use any part of this
> e-mail if you are not the intended recipient.
>

--089e0153746a33a3b504e0714500
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br>There is an=A0attribute=A0on <span></span>project called forceBuildNewP=
roject (true/false) that if set to false will not build the project first t=
ime due not finding a .ser file.<div><br></div><div>Give it a shot and see =
if it does what you are looking for.</div>
<div><br></div><div>William Juroff<br>On Sunday, June 30, 2013, DEV Bornali=
  wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">








<div lang=3D"EN-AU" link=3D"blue" vlink=3D"purple">

<div>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">Hi,<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial"><u></u>=A0<u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">I am using cruisecontrol 2.8.4.<u></u><u></u></span></f=
ont></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">I have the below config file for the test project.<u></=
u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">How can I ensure that when a project/config.xml is crea=
ted
for the first time, the project should not automatically go into the build
queue.<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">Somehow, even when there are no changes in the project,=
 it
still ends up building (the first build). How can I prevent that?<u></u><u>=
</u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">I want to be able to trigger the first build when I wan=
t, is
this possible?<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial"><u></u>=A0<u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial"><u></u>=A0<u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">&lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;UTF=
-8&quot;
standalone=3D&quot;no&quot;?&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial"><u></u>=A0<u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">&lt;cruisecontrol&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0 &lt;project name=3D&quot;TestCC&quot;
buildafterfailed=3D&quot;false&quot; requireModification=3D&quot;false&quot=
;&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;property name=3D&quot;workspaceBaseDir&qu=
ot;
value=3D&quot;${scratchDisk}\workspace\TestCC&quot;/&gt;<u></u><u></u></spa=
n></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;property name=3D&quot;labelBase&quot;
value=3D&quot;TestCC-build&quot; /&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;property name=3D&quot;cvs-branch&quot; va=
lue=3D&quot;
&quot;/&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;property name=3D&quot;buildDirectoryBaseD=
ir&quot;
value=3D&quot;${scratchDisk}\builds\${labelBase}&quot;/&gt;<u></u><u></u></=
span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;property name=3D&quot;cc-config-basedir&q=
uot;
value=3D&quot;D:\data&quot;/&gt;=A0 =A0=A0=A0=A0=A0=A0=A0=A0 <u></u><u></u>=
</span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 <u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;property name=3D&quot;TestCCBaseDir&quot;
value=3D&quot;${centralBuildSupportBaseDir}\TestCC.pdebuilder&quot;/&gt; <u=
></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0 <u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 <u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;labelincrementer<u></u><u></u></span></fo=
nt></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 defaultLabel=3D&quot;run.1&quot; separator=3D=
&quot;.&quot;
/&gt; <u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;bootstrappers&gt;<u></u><u></u></span></f=
ont></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0 &lt;cvsbootstrapper
localWorkingCopy=3D&quot;${cc-config-basedir}&quot; /&gt;<u></u><u></u></sp=
an></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;/bootstrappers&gt;<u></u><u></u></span></=
font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;modificationset&gt;<u></u><u></u></span><=
/font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0 &lt;alwaysbuild
username=3D&quot;<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;Bornali_=
[email protected]&#39;);" target=3D"_blank">[email protected]</a>=
&quot;/&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;/modificationset&gt;<u></u><u></u></span>=
</font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <u></u><u></u></span>=
</font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;schedule interval=
=3D&quot;31536000&quot;&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 &lt;ant antWorkingDir=3D&quot;${TestCCBaseDir}&quot;
buildfile=3D&quot;${TestCCBaseDir}\build.xml&quot;/&gt;<u></u><u></u></span=
></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;/schedule&gt;<u><=
/u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 <u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;publishers&gt;<u></u><u></u></span></font=
></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0 &lt;htmlemail&gt;<u></u><u></u></span><=
/font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0=A0=A0 &lt;always
address=3D&quot;<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;bornali_d=
[email protected]&#39;);" target=3D"_blank">[email protected]</a>&=
quot;/&gt; =A0=A0 <u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0=A0=A0 &lt;parameter name=3D&quot;xslt.v=
iewcvs.url&quot;
value=3D&quot;<a href=3D"http://cvs/viewvc/" target=3D"_blank">http://cvs/v=
iewvc/</a>&quot;/&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0 =A0=A0=A0=A0=A0=A0&lt;parameter
name=3D&quot;cvstagdiff.success.show&quot; value=3D&quot;true&quot;/&gt;<u>=
</u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0=A0=A0 &lt;/htmlemail&gt;<u></u><u></u></span>=
</font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0=A0=A0 &lt;/publishers&gt;<u></u><u></u></span></fon=
t></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">=A0 &lt;/project&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial">&lt;/cruisecontrol&gt;<u></u><u></u></span></font></p>

<p class=3D"MsoNormal"><font face=3D"Arial"><span style=3D"font-size:10.0pt=
;font-family:Arial"><u></u>=A0<u></u></span></font></p>

</div>

<p><img alt=3D"Logo" border=3D"0" width=3D"171" height=3D"47"></p>
<p><font face=3D"Arial, sans-serif" color=3D"#009543">Before printing, plea=
se consider the environment</font></p>
<p><font face=3D"Arial, sans-serif" color=3D"Black" size=3D"1">IMPORTANT NO=
TICE: This e-mail and any attachment to it are intended only to be read or =
used by the named addressee. It is confidential and may contain legally pri=
vileged information. No confidentiality or privilege is waived or lost by a=
ny mistaken transmission to you. Roads and Maritime Services (RMS) is not r=
esponsible for any unauthorised alterations to this e-mail or attachment to=
 it. Views expressed in this message are those of the individual sender, an=
d are not necessarily the views of RMS. If you receive this e-mail in error=
, please immediately delete it from your system and notify the sender. You =
must not disclose, copy or use any part of this e-mail if you are not the i=
ntended recipient.</font></p>

</div>


</blockquote></div>

--089e0153746a33a3b504e0714500--


--===============6212057309425486574==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
--===============6212057309425486574==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

--===============6212057309425486574==--