stop initial build

DEV Bornali <[email protected]> Mon, 1 Jul 2013 11:35:55 +1000
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <7BA20F0488D26E4CB6B33E6E69332CA902B810DB20D7@COREXC01.corp.rta.nsw.gov.au>
--===============0122914955343613670==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_7BA20F0488D26E4CB6B33E6E69332CA902B810DB20D7COREXC01cor_"

--_000_7BA20F0488D26E4CB6B33E6E69332CA902B810DB20D7COREXC01cor_
Content-Type: text/plain; charset="us-ascii"
content-transfer-encoding: quoted-printable

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 tim=
e, the project should not automatically go into the build queue.
Somehow, even when there are no changes in the project, it still ends up bui=
lding (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=3D"1.0" encoding=3D"UTF-8" standalone=3D"no"?>

<cruisecontrol>
  <project name=3D"TestCC" buildafterfailed=3D"false" requireModification=3D=
"false">
    <property name=3D"workspaceBaseDir" value=3D"${scratchDisk}\workspace\Te=
stCC"/>
    <property name=3D"labelBase" value=3D"TestCC-build" />
    <property name=3D"cvs-branch" value=3D" "/>
    <property name=3D"buildDirectoryBaseDir" value=3D"${scratchDisk}\builds\=
${labelBase}"/>
    <property name=3D"cc-config-basedir" value=3D"D:\data"/>

    <property name=3D"TestCCBaseDir" value=3D"${centralBuildSupportBaseDir}\=
TestCC.pdebuilder"/>


    <labelincrementer
    defaultLabel=3D"run.1" separator=3D"." />
    <bootstrappers>
      <cvsbootstrapper localWorkingCopy=3D"${cc-config-basedir}" />
    </bootstrappers>
    <modificationset>
      <alwaysbuild username=3D"[email protected]"/>
    </modificationset>

            <schedule interval=3D"31536000">
                        <ant antWorkingDir=3D"${TestCCBaseDir}" buildfile=3D=
"${TestCCBaseDir}\build.xml"/>
            </schedule>

    <publishers>
      <htmlemail>
        <always address=3D"[email protected]"/>
        <parameter name=3D"xslt.viewcvs.url" value=3D"http://cvs/viewvc/"/>
        <parameter name=3D"cvstagdiff.success.show" value=3D"true"/>
      </htmlemail>
    </publishers>
  </project>
</cruisecontrol>


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 o=
r lost by any mistaken transmission to you. Roads and Maritime Services (RMS=
) is not responsible for any unauthorised alterations to this e-mail or atta=
chment to it. Views expressed in this message are those of the individual se=
nder, and are not necessarily the views of RMS. If you receive this e-mail i=
n 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.

--_000_7BA20F0488D26E4CB6B33E6E69332CA902B810DB20D7COREXC01cor_
Content-Type: text/html; charset="us-ascii"
content-transfer-encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sch=
emas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-AU link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>I am using cruisecontrol 2.8.4.<o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>I have the below config file for the test project.<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>How can I ensure that when a project/config.xml is create=
d
for the first time, the project should not automatically go into the build
queue.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>Somehow, even when there are no changes in the project, i=
t
still ends up building (the first build). How can I prevent that?<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>I want to be able to trigger the first build when I want,=
 is
this possible?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><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;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&lt;cruisecontrol&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp; &lt;project name=3D&quot;TestCC&quot;
buildafterfailed=3D&quot;false&quot; requireModification=3D&quot;false&quot;=
&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;property name=3D&quot;workspaceBas=
eDir&quot;
value=3D&quot;${scratchDisk}\workspace\TestCC&quot;/&gt;<o:p></o:p></span></=
font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;property name=3D&quot;labelBase&qu=
ot;
value=3D&quot;TestCC-build&quot; /&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;property name=3D&quot;cvs-branch&q=
uot; value=3D&quot;
&quot;/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;property name=3D&quot;buildDirecto=
ryBaseDir&quot;
value=3D&quot;${scratchDisk}\builds\${labelBase}&quot;/&gt;<o:p></o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;property name=3D&quot;cc-config-ba=
sedir&quot;
value=3D&quot;D:\data&quot;/&gt;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;property name=3D&quot;TestCCBaseDi=
r&quot;
value=3D&quot;${centralBuildSupportBaseDir}\TestCC.pdebuilder&quot;/&gt; <o:=
p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;labelincrementer<o:p></o:p></span>=
</font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; defaultLabel=3D&quot;run.1&quot; separ=
ator=3D&quot;.&quot;
/&gt; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;bootstrappers&gt;<o:p></o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;cvsbootstrapper
localWorkingCopy=3D&quot;${cc-config-basedir}&quot; /&gt;<o:p></o:p></span><=
/font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;/bootstrappers&gt;<o:p></o:p></spa=
n></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;modificationset&gt;<o:p></o:p></sp=
an></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;alwaysbuild
username=3D&quot;[email protected]&quot;/&gt;<o:p></o:p></span></fo=
nt></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;/modificationset&gt;<o:p></o:p></s=
pan></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; &lt;schedule interval=3D&quot;31536000&quot;&gt;<o:p></o:p></span>=
</font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; &lt;ant antWorkingDir=3D&quot;${TestCCBaseDir}&quot;
buildfile=3D&quot;${TestCCBaseDir}\build.xml&quot;/&gt;<o:p></o:p></span></f=
ont></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; &lt;/schedule&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;publishers&gt;<o:p></o:p></span></=
font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;htmlemail&gt;<o:p></o:=
p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;always
address=3D&quot;[email protected]&quot;/&gt; &nbsp;&nbsp; <o:p></o:=
p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter=
 name=3D&quot;xslt.viewcvs.url&quot;
value=3D&quot;http://cvs/viewvc/&quot;/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;parameter
name=3D&quot;cvstagdiff.success.show&quot; value=3D&quot;true&quot;/&gt;<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/htmlemail&gt;<o:p></o=
:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; &lt;/publishers&gt;<o:p></o:p></span><=
/font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&nbsp; &lt;/project&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'>&lt;/cruisecontrol&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

<p><img src=3D"http://www.rta.nsw.gov.au/images/permanent/RMS_Email_Logo.png=
" alt=3D"Logo" border=3D"0" width=3D"171" height=3D"47"></p>
<p><font face=3D"Arial, sans-serif" color=3D"#009543" size=3D"2">Before prin=
ting, please consider the environment</font></p>
<p><font face=3D"Arial, sans-serif" color=3D"Black" size=3D"1">IMPORTANT NOT=
ICE: This e-mail and any attachment to it are intended only to be read or us=
ed by the named addressee. It is confidential and may contain legally privil=
eged information. No confidentiality or privilege is waived or lost by any m=
istaken transmission to you. Roads and Maritime Services (RMS) is not respon=
sible for any unauthorised alterations to this e-mail or attachment to it. V=
iews expressed in this message are those of the individual sender, and are n=
ot 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 r=
ecipient.</font></p>
</body>

</html>

--_000_7BA20F0488D26E4CB6B33E6E69332CA902B810DB20D7COREXC01cor_--


--===============0122914955343613670==
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
--===============0122914955343613670==
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

--===============0122914955343613670==--