Clearcase UCM and dynamic view

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Clearcase UCM and dynamic view

Gregory Boissinot
Hi,

First, I am very new in Clearcase and Clearcase UCM.

I use Hudson and the Hudson Clearcase plugin 0.5.1.
And I want to use Hudson with Clearcase UCM on polling use.

But it seems, that can only work on snapshot view.
And there are some problems with snaphot view.
The command "cleartool lshistory" for detecting changes invoked from a snapshot view cannot detect in certain situations new file or directories for Clearcase UCM.

My goal is to continue to build on a SNAPSHOT view but listen if there are modifications on dynamic view.

Is it possible to configure this need ?
Or is it possible to invoke the update command on hudson snapshot view created before the invocation of the "cleartool lshistory" command invocation.


Thanks in advance for your responses or your suggestions?

Reply | Threaded
Open this post in threaded view
|

Re: Clearcase UCM and dynamic view

Henrik Lynggaard Hansen
Hi

2008/5/21 Grégory BOISSINOT <[hidden email]>:

> Hi,
>
> First, I am very new in Clearcase and Clearcase UCM.
>
> I use Hudson and the Hudson Clearcase plugin 0.5.1.
> And I want to use Hudson with Clearcase UCM on polling use.
>
> But it seems, that can only work on snapshot view.
> And there are some problems with snaphot view.
> The command "cleartool lshistory" for detecting changes invoked from a
> snapshot view cannot detect in certain situations new file or directories
> for Clearcase UCM.

Hmm.. I know it appears to miss files coming unchanged through a
rebase, but I haven't seen problems with newly added files...Could you
be a bit more specific on when this happens ? perhaps even provide
some log statement and history/version tree information ?

If you would be so kind as to enter it into a issue on the
issuetracker, then it is more easy for us to investigate.

> My goal is to continue to build on a SNAPSHOT view but listen if there are
> modifications on dynamic view.
>
> Is it possible to configure this need ?

I don't belive that is possibly wit the current plugin as it only
works with one view at the time.

> Or is it possible to invoke the update command on hudson snapshot view
> created before the invocation of the "cleartool lshistory" command
> invocation.

Well the snapshot view is actually recreated for each build, so it
should have all the newest files. What it does is

"mkview ....."
and for each loadrule "update -add_loadtule <loadrule>"

best regards
henrik

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Clearcase UCM and dynamic view

Gregory Boissinot
Thanks for your responses.

I use on polling use. My snapshot view is destroyed/created for a build only when when there are detected changes.

I  resolve my problem now.
I change my load rule to listen the parent project directory :
change "/path/parent/project1" to "/path/parent"

The explication is when you create a file in a directory, the revision directory is incremented. And from a snapshot view, if the command "cleartool lshistory" is executed at the project directory level, it cannot detect the new revision of the project directory beacuse the snapshot view is not updated.

But the problem with this solution, i cannot have multi projects in the parent project because i want to trigger the build only if there a modifications on my desired project.

Thanks



Henrik Lynggaard Hansen wrote
Hi

2008/5/21 Grégory BOISSINOT <gregory.boissinot@gmail.com>:
> Hi,
>
> First, I am very new in Clearcase and Clearcase UCM.
>
> I use Hudson and the Hudson Clearcase plugin 0.5.1.
> And I want to use Hudson with Clearcase UCM on polling use.
>
> But it seems, that can only work on snapshot view.
> And there are some problems with snaphot view.
> The command "cleartool lshistory" for detecting changes invoked from a
> snapshot view cannot detect in certain situations new file or directories
> for Clearcase UCM.

Hmm.. I know it appears to miss files coming unchanged through a
rebase, but I haven't seen problems with newly added files...Could you
be a bit more specific on when this happens ? perhaps even provide
some log statement and history/version tree information ?

If you would be so kind as to enter it into a issue on the
issuetracker, then it is more easy for us to investigate.

> My goal is to continue to build on a SNAPSHOT view but listen if there are
> modifications on dynamic view.
>
> Is it possible to configure this need ?

I don't belive that is possibly wit the current plugin as it only
works with one view at the time.

> Or is it possible to invoke the update command on hudson snapshot view
> created before the invocation of the "cleartool lshistory" command
> invocation.

Well the snapshot view is actually recreated for each build, so it
should have all the newest files. What it does is

"mkview ....."
and for each loadrule "update -add_loadtule <loadrule>"

best regards
henrik

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net
Reply | Threaded
Open this post in threaded view
|

Re: Clearcase UCM and dynamic view

Chris Graham-2
In reply to this post by Henrik Lynggaard Hansen
> 2008/5/21 Grégory BOISSINOT <[hidden email]>:
> > Hi,
> >
> > First, I am very new in Clearcase and Clearcase UCM.
> >
> > My goal is to continue to build on a SNAPSHOT view but listen if there
are
> > modifications on dynamic view.

Listen and do what?

> > Is it possible to configure this need ?
>
> I don't belive that is possibly wit the current plugin as it only
> works with one view at the time.

If he needs to do this, and I don't think that he does, then he'll need to
do two different Hudson Jobs to achieve it.

-Chris


**********************************************************************
CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information.

If you are not the intended recipient of this message you must:
- Not use, copy, distribute or disclose it to anyone other than the addressee;
- Notify the sender via return email; and
- Delete the message (and any related attachments) from your computer immediately.

Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent.

Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI.
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]