Hi

Your setup seems ok to me,
I do not have clearcase available to me to test it.

So, hopefully some people with clearcase experience can help you further.



with kind regards
Ruben Willems



2008/10/17 Saran <[EMAIL PROTECTED]>

>
> Hi Ruben,
>
> It seems log is set to DEBUG mode and have added the following lines
> to ccnet.config.
>
>        <project name="ansoft-main" queue="day_64bit_main">
>                <webURL>
> http://prizm-xp32/ccnet/server/local/project/ansoft-main/
> ViewProjectReport.aspx</webURL>
>                 <labeller type="fileLabeller">
>                        <labelFilePath>C:\label.txt</labelFilePath>
>                </labeller>
>
>
>                 <modificationDelaySeconds>600</modificationDelaySeconds>
>               .......
>
> Any idea what I might be doing wrong?
>
> Thanks
> Saran
>
> On Oct 14, 2:15 am, "Ruben Willems" <[EMAIL PROTECTED]> wrote:
> > Hi Saran
> >
> > try running ccnet as a console version first, and check the screen for
> > errors.
> > Dp you have the log level set to debug?
> > in the ccnet.exe.config
> > there is a section log4net
> >
> > check that the level has a value of DEBUG
> > like below
> >
> >   <log4net>
> >         <root>
> >             <level value="DEBUG"/>
> >
> > Maybe that will show more information.
> >
> > with kind regards
> > Ruben Willems
> >
> > 2008/10/13 Saran <[EMAIL PROTECTED]>
> >
> >
> >
> > > Hi Ruben,
> >
> > > I don't see any cleartool command that is getting called with the
> > > label name. Only place where I see cleartool.exe is when it runs find
> > > command to get all modified files but email even email subject says
> > > the following:
> >
> > > nextgen-main Build Fixed: Build NIGHTLY_MAIN_BUILD
> >
> > > Do I need to increase the verbose level to get the log? Currently I'm
> > > running cruisecontrol as a service.
> >
> > > Thanks very much
> > > Saran
> >
> > > On Oct 13, 8:38 am, "Ruben Willems" <[EMAIL PROTECTED]> wrote:
> > > > Hi
> >
> > > > I do not have clearcase, so I can not test it.
> > > > Do you see an error in the build log?
> > > > Can you dig up the command that is sent to clearcase for the
> labelling?
> > > > It should be in the ccnet.log files on the server.
> >
> > > > Maybe some other people with ClearCase can help here,
> >
> > > > with kind regards
> > > > Ruben Willems
> >
> > > > 2008/10/10 Saran <[EMAIL PROTECTED]>
> >
> > > > > Hi Ruben,
> >
> > > > > Though last build label in the Webdashboard is getting updated with
> > > > > proper label name, label is not getting applied to the checked in
> > > > > files. Can you please help me with this?
> >
> > > > > I added the following lines to the config file.
> >
> > > > > <labeller type="fileLabeller">
> > > > > <labelFilePath>C:\label.txt</labelFilePath>
> > > > > </labeller>
> >
> > > > > C:\>type label.txt
> > > > > NIGHTLY_MAIN_BUILD
> >
> > > > > Thanks
> > > > > Saran
> >
> > > > > On Oct 6, 1:53 pm, Saran <[EMAIL PROTECTED]> wrote:
> > > > > > Thanks very much Ruben and Bolek for your valuable suggestions, I
> > > will
> > > > > > update this post again with my experience.
> > > > > > Saran
> >
> > > > > > On Oct 5, 6:00 am, tboloo <[EMAIL PROTECTED]> wrote:
> >
> > > > > > > Hi
> > > > > > > Here's what I do to have labels in ClearCase:
> >
> > > > > > > In my project configuration block I have a labeller block with
> > > > > > > following contents:
> >
> > > > > > >    <labeller type="defaultlabeller">
> > > > > > >      <prefix>BUILD_OK_</prefix>
> > > > > > >    </labeller>
> >
> > > > > > > and then I have label in format <prefix><number_of_build>
> applied
> > > to
> > > > > > > source.
> > > > > > > Works most of the time, although I run into issue when
> CC.NETtried to
> > > > > > > apply the same label (with the same number), and I got
> exception. I
> > > > > > > haven't investigated it, just manually removed offending label
> from
> > > > > > > ClearCase.
> >
> > > > > > > Hope this helps,
> >
> > > > > > > Regads,
> > > > > > >    Bolek.
> >
> > > > > > > Ruben Willems napisaƂ(a):
> >
> > > > > > > > Hi
> >
> > > > > > > > The file labeler allows you to use the BuildOK label, without
> any
> > > > > number. so
> > > > > > > > I would try it out.
> >
> > > > > > > > Now I do not know if your sourcecontrol allows double labels,
> > > > > > > > but I doubt it (it would be silly if it did).
> > > > > > > > I know VSS replaces the build label if you use a dumplicate
> label
> > > > > > > > If clearcase does the same, than you just need to use this
> file
> > > > > labeler,
> > > > > > > > if not a setup as below would be a good approach
> >
> > > > > > > > use the file labeller, pointing to file with a contents of
> > > BuildOK
> > > > > > > > set up a task in the task section that will remove the
> existing
> > > > > BuildOK
> > > > > > > > rom clearcase
> > > > > > > >     a batch file or so that will be ran with the exec task in
> > > ccnet.
> > > > > > > >     set this task as the LAST task n the task section
> >
> > > > > > > > The reason : : the operation flow of ccnet is as follows :
> >
> > > > > > > > 1) Wait for the triggers to awaken.
> > > > > > > >        2) Ask the source control system for a list of the
> > > > > modifications
> > > > > > > > since the last build.
> > > > > > > >        3) If any modifications were found or if the triggers
> said
> > > > > "force the
> > > > > > > > build":
> > > > > > > >                3.1) Generate a label for the build.
> > > > > > > >                3.2) Run the prebuild tasks in the order
> > > specified,
> > > > > failing
> > > > > > > > the build in case of error.
> > > > > > > >                3.3) Get the source code from the source
> control
> > > > > system.
> > > > > > > >                3.4) Run the build tasks in the order
> specified,
> > > > > failing the
> > > > > > > > build in case of error.
> > > > > > > >                3.5) If the repository should be labeled:
> > > > > > > >                        3.5.1) Let the source control system
> apply
> > > the
> > > > > label.
> > > > > > > >                3.6) Run the publisher tasks.
> > > > > > > >        4) Go to 1.
> >
> > > > > > > > This should have the desired result
> >
> > > > > > > > with kind regards
> > > > > > > > Ruben Wilems
> >
> > > > > > > > On Fri, Oct 3, 2008 at 10:17 PM, Saran <[EMAIL PROTECTED]
> >
> > > wrote:
> >
> > > > > > > > > Hi Ruben,
> >
> > > > > > > > > I would like to keep moving the BUILDOK label whenever
> there is
> > > a
> > > > > > > > > successful build to all the files that were checked in
> after
> > > > > previous
> > > > > > > > > successful build. Our plan is to let developers use this
> label
> > > for
> > > > > > > > > view update, this will make sure that whenever they update
> the
> > > view
> > > > > it
> > > > > > > > > will be in buildable state.
> >
> > > > > > > > > Thanks very much for your time
> > > > > > > > > Saran
> >
> > > > > > > > > ps: I looked in to the filelabeler and I think this will
> not
> > > > > address
> > > > > > > > > my requirements, please correct me if I'm wrong.
> >
> > > > > > > > > On Oct 3, 3:01 pm, "Ruben Willems" <
> [EMAIL PROTECTED]>
> > > > > wrote:
> > > > > > > > > > Hi
> >
> > > > > > > > > > just thought of something :
> > > > > > > > > > maybe you can take a look at the file labeler :
> >
> > > > >
> http://confluence.public.thoughtworks.org/display/CCNET/File+Labeller
> > > > > > > > > > This sounds like the solution to your problem.
> >
> > > > > > > > > > with kind regards
> > > > > > > > > > Ruben Willems
> >
> > > > > > > > > > On Fri, Oct 3, 2008 at 4:18 PM, Saran <
> [EMAIL PROTECTED]>
> > > > > wrote:
> >
> > > > > > > > > > > Thanks Reben, but I guess I cannot apply customized
> label
> > > > > > > > > > > (LAST_SUCCESS_LABEL) using Cruisecontrol.net.
> > > > > > > > > > > Saran
> >
> > > > > > > > > > > On Oct 3, 6:28 am, "Ruben Willems" <
> > > [EMAIL PROTECTED]>
> > > > > wrote:
> > > > > > > > > > > > Hi
> >
> > > > > > > > > > > > In default the defaultLabeler is use
> > > > > > > > > > > > (if you do not specify a labeler section in your
> > > > > ccnet.config, you
> > > > > > > > > get
> > > > > > > > > > > this
> > > > > > > > > > > > one)
> >
> > >
> http://confluence.public.thoughtworks.org/display/CCNET/Default+Labeller
> >
> > > > > > > > > > > > When you have set useLabel to true,  a label will be
> > > applied.
> > > > > > > > > > > > The layout of this label is will be the buildnumber.
> > > > > > > > > > > > You can add a prefix to it (BuildOk-), so the label
> will
> > > be
> > > > > BuilOK-25
> >
> > > > > > > > > > > > with kind regards
> > > > > > > > > > > > Ruben Willems
> >
> > > > > > > > > > > > On Fri, Sep 26, 2008 at 4:19 PM, Saran <
> > > [EMAIL PROTECTED]>
> > > > > wrote:
> >
> > > > > > > > > > > > > Hi,
> >
> > > > > > > > > > > > > I would like to apply build label (BUILD_OK) if
> build
> > > > > succeeds but
> > > > > > > > > I'm
> > > > > > > > > > > > > not sure how to specify build label name to
> > > > > cruisecontrol.net. In
> > > > > > > > > the
> > > > > > > > > > > > > source control block, there is an option to apply
> label
> > > > > (useLabel),
> > > > > > > > > > > > > but I can't figure out how to specify the build
> label
> > > name.
> >
> > > > > > > > > > > > > <sourcecontrol type="clearCase">
> > > > > > > > > > > > >    <viewPath>C:\PATH\TO\SOURCE</viewPath>
> > > > > > > > > > > > >    <branch>main</branch>
> > > > > > > > > > > > >    <autoGetSource>false</autoGetSource>
> > > > > > > > > > > > >    <useLabel>true</useLabel>
> > > > > > > > > > > > >    <useBaseline>false</useBaseline>
> > > > > > > > > > > > >
>  <projectVobName>PROJECT_VOB_NAME</projectVobName>
> > > > > > > > > > > > >    <viewName>PROJECT_VIEW_NAME</viewName>
> > > > > > > > > > > > >    <executable>cleartool.exe</executable>
> > > > > > > > > > > > >    <timeout>50000</timeout>
> > > > > > > > > > > > > </sourcecontrol>
> >
> > > > > > > > > > > > > Any suggestions would be really appreciated.
> >
> > > > > > > > > > > > > Thanks very much,
> > > > > > > > > > > > > Saran
>

Reply via email to