Clearcase Polling

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

Clearcase Polling

slide
I was just trying to enable the polling mechanism in Clearcase and it
looked like it was working, except that when there were changes in the
build, it did not trigger any builds, the UCM polling log said that
there were no changes even though the lshistory showed several
checkins and a couple added files. My thought on this is that the
regular expression for matching the history lines is not actually
matching the events because there is are some single quotes in the
output format like this:

''"20090707.170648" "username" "path\to\somefile.c" "\main\APP_Int\49"
"create version" "checkin" "deliver.APP_username.20090707.170506"

There are two single quotes at the front. I think this comes from the
string that is passed to the shell:

$ cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt
'"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\"
\n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2

You can see it has a single quote at the beginning and a single quote
at the end before the first double quotes and after the last double
quotes. I am not sure why these are there.

--
slide-o-blog
http://slide-o-blog.blogspot.com/

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

Reply | Threaded
Open this post in threaded view
|

Re: Clearcase Polling

Andrew Bayer
Hi -

This is the second report I've seen of this - I'm not yet sure what the cause is. You may want to try an older version of the ClearCase plugin, such as 0.8.4.

A.

On Tue, Jul 7, 2009 at 8:46 PM, Slide <[hidden email]> wrote:
I was just trying to enable the polling mechanism in Clearcase and it
looked like it was working, except that when there were changes in the
build, it did not trigger any builds, the UCM polling log said that
there were no changes even though the lshistory showed several
checkins and a couple added files. My thought on this is that the
regular expression for matching the history lines is not actually
matching the events because there is are some single quotes in the
output format like this:

''"20090707.170648" "username" "path\to\somefile.c" "\main\APP_Int\49"
"create version" "checkin" "deliver.APP_username.20090707.170506"

There are two single quotes at the front. I think this comes from the
string that is passed to the shell:

$ cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt
'"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\"
\n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2

You can see it has a single quote at the beginning and a single quote
at the end before the first double quotes and after the last double
quotes. I am not sure why these are there.

--
slide-o-blog
http://slide-o-blog.blogspot.com/

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


Reply | Threaded
Open this post in threaded view
|

Re: Clearcase Polling

Jan-2
Yes use clearcase 0.84, in 0.9 i had the same problem after changing to 0.84 everything works fine

On Wed, Jul 8, 2009 at 3:27 AM, Andrew Bayer <[hidden email]> wrote:
Hi -

This is the second report I've seen of this - I'm not yet sure what the cause is. You may want to try an older version of the ClearCase plugin, such as 0.8.4.

A.


On Tue, Jul 7, 2009 at 8:46 PM, Slide <[hidden email]> wrote:
I was just trying to enable the polling mechanism in Clearcase and it
looked like it was working, except that when there were changes in the
build, it did not trigger any builds, the UCM polling log said that
there were no changes even though the lshistory showed several
checkins and a couple added files. My thought on this is that the
regular expression for matching the history lines is not actually
matching the events because there is are some single quotes in the
output format like this:

''"20090707.170648" "username" "path\to\somefile.c" "\main\APP_Int\49"
"create version" "checkin" "deliver.APP_username.20090707.170506"

There are two single quotes at the front. I think this comes from the
string that is passed to the shell:

$ cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt
'"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\"
\n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2

You can see it has a single quote at the beginning and a single quote
at the end before the first double quotes and after the last double
quotes. I am not sure why these are there.

--
slide-o-blog
http://slide-o-blog.blogspot.com/

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



Reply | Threaded
Open this post in threaded view
|

Re: Clearcase Polling

slide
I'm currently using 0.8.3 and it seems to have this same problem. I'll
try updating to 0.8.4

Thanks

On Wed, Jul 8, 2009 at 5:04 AM, raghu guru<[hidden email]> wrote:

> Yes use clearcase 0.84, in 0.9 i had the same problem after changing to 0.84
> everything works fine
>
> On Wed, Jul 8, 2009 at 3:27 AM, Andrew Bayer <[hidden email]> wrote:
>>
>> Hi -
>>
>> This is the second report I've seen of this - I'm not yet sure what the
>> cause is. You may want to try an older version of the ClearCase plugin, such
>> as 0.8.4.
>>
>> A.
>>
>> On Tue, Jul 7, 2009 at 8:46 PM, Slide <[hidden email]> wrote:
>>>
>>> I was just trying to enable the polling mechanism in Clearcase and it
>>> looked like it was working, except that when there were changes in the
>>> build, it did not trigger any builds, the UCM polling log said that
>>> there were no changes even though the lshistory showed several
>>> checkins and a couple added files. My thought on this is that the
>>> regular expression for matching the history lines is not actually
>>> matching the events because there is are some single quotes in the
>>> output format like this:
>>>
>>> ''"20090707.170648" "username" "path\to\somefile.c" "\main\APP_Int\49"
>>> "create version" "checkin" "deliver.APP_username.20090707.170506"
>>>
>>> There are two single quotes at the front. I think this comes from the
>>> string that is passed to the shell:
>>>
>>> $ cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt
>>> '"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\"
>>> \n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2
>>>
>>> You can see it has a single quote at the beginning and a single quote
>>> at the end before the first double quotes and after the last double
>>> quotes. I am not sure why these are there.
>>>
>>> --
>>> slide-o-blog
>>> http://slide-o-blog.blogspot.com/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>
>



--
slide-o-blog
http://slide-o-blog.blogspot.com/

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

Reply | Threaded
Open this post in threaded view
|

Re: Clearcase Polling

Andrew Bayer
What version of Hudson are you running?

A.

On Wed, Jul 8, 2009 at 7:08 AM, Slide <[hidden email]> wrote:
I'm currently using 0.8.3 and it seems to have this same problem. I'll
try updating to 0.8.4

Thanks

On Wed, Jul 8, 2009 at 5:04 AM, raghu guru<[hidden email]> wrote:
> Yes use clearcase 0.84, in 0.9 i had the same problem after changing to 0.84
> everything works fine
>
> On Wed, Jul 8, 2009 at 3:27 AM, Andrew Bayer <[hidden email]> wrote:
>>
>> Hi -
>>
>> This is the second report I've seen of this - I'm not yet sure what the
>> cause is. You may want to try an older version of the ClearCase plugin, such
>> as 0.8.4.
>>
>> A.
>>
>> On Tue, Jul 7, 2009 at 8:46 PM, Slide <[hidden email]> wrote:
>>>
>>> I was just trying to enable the polling mechanism in Clearcase and it
>>> looked like it was working, except that when there were changes in the
>>> build, it did not trigger any builds, the UCM polling log said that
>>> there were no changes even though the lshistory showed several
>>> checkins and a couple added files. My thought on this is that the
>>> regular expression for matching the history lines is not actually
>>> matching the events because there is are some single quotes in the
>>> output format like this:
>>>
>>> ''"20090707.170648" "username" "path\to\somefile.c" "\main\APP_Int\49"
>>> "create version" "checkin" "deliver.APP_username.20090707.170506"
>>>
>>> There are two single quotes at the front. I think this comes from the
>>> string that is passed to the shell:
>>>
>>> $ cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt
>>> '"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\"
>>> \n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2
>>>
>>> You can see it has a single quote at the beginning and a single quote
>>> at the end before the first double quotes and after the last double
>>> quotes. I am not sure why these are there.
>>>
>>> --
>>> slide-o-blog
>>> http://slide-o-blog.blogspot.com/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>
>



--
slide-o-blog
http://slide-o-blog.blogspot.com/

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


Reply | Threaded
Open this post in threaded view
|

Re: Clearcase Polling

Andrew Bayer
Also, what OS is Hudson running on, and, if different, what OS is the job running on?

A.

On Wed, Jul 8, 2009 at 7:25 AM, Andrew Bayer <[hidden email]> wrote:
What version of Hudson are you running?

A.


On Wed, Jul 8, 2009 at 7:08 AM, Slide <[hidden email]> wrote:
I'm currently using 0.8.3 and it seems to have this same problem. I'll
try updating to 0.8.4

Thanks

On Wed, Jul 8, 2009 at 5:04 AM, raghu guru<[hidden email]> wrote:
> Yes use clearcase 0.84, in 0.9 i had the same problem after changing to 0.84
> everything works fine
>
> On Wed, Jul 8, 2009 at 3:27 AM, Andrew Bayer <[hidden email]> wrote:
>>
>> Hi -
>>
>> This is the second report I've seen of this - I'm not yet sure what the
>> cause is. You may want to try an older version of the ClearCase plugin, such
>> as 0.8.4.
>>
>> A.
>>
>> On Tue, Jul 7, 2009 at 8:46 PM, Slide <[hidden email]> wrote:
>>>
>>> I was just trying to enable the polling mechanism in Clearcase and it
>>> looked like it was working, except that when there were changes in the
>>> build, it did not trigger any builds, the UCM polling log said that
>>> there were no changes even though the lshistory showed several
>>> checkins and a couple added files. My thought on this is that the
>>> regular expression for matching the history lines is not actually
>>> matching the events because there is are some single quotes in the
>>> output format like this:
>>>
>>> ''"20090707.170648" "username" "path\to\somefile.c" "\main\APP_Int\49"
>>> "create version" "checkin" "deliver.APP_username.20090707.170506"
>>>
>>> There are two single quotes at the front. I think this comes from the
>>> string that is passed to the shell:
>>>
>>> $ cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt
>>> '"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\"
>>> \n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2
>>>
>>> You can see it has a single quote at the beginning and a single quote
>>> at the end before the first double quotes and after the last double
>>> quotes. I am not sure why these are there.
>>>
>>> --
>>> slide-o-blog
>>> http://slide-o-blog.blogspot.com/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>
>



--
slide-o-blog
http://slide-o-blog.blogspot.com/

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



Reply | Threaded
Open this post in threaded view
|

Re: Clearcase Polling

slide
Hudson 1.303
OS: Windows Server 2003

The job is running on the same OS as Hudson.

Thanks

On Wed, Jul 8, 2009 at 7:25 AM, Andrew Bayer<[hidden email]> wrote:

> Also, what OS is Hudson running on, and, if different, what OS is the job
> running on?
>
> A.
>
> On Wed, Jul 8, 2009 at 7:25 AM, Andrew Bayer <[hidden email]> wrote:
>>
>> What version of Hudson are you running?
>>
>> A.
>>
>> On Wed, Jul 8, 2009 at 7:08 AM, Slide <[hidden email]> wrote:
>>>
>>> I'm currently using 0.8.3 and it seems to have this same problem. I'll
>>> try updating to 0.8.4
>>>
>>> Thanks
>>>
>>> On Wed, Jul 8, 2009 at 5:04 AM, raghu guru<[hidden email]> wrote:
>>> > Yes use clearcase 0.84, in 0.9 i had the same problem after changing to
>>> > 0.84
>>> > everything works fine
>>> >
>>> > On Wed, Jul 8, 2009 at 3:27 AM, Andrew Bayer <[hidden email]>
>>> > wrote:
>>> >>
>>> >> Hi -
>>> >>
>>> >> This is the second report I've seen of this - I'm not yet sure what
>>> >> the
>>> >> cause is. You may want to try an older version of the ClearCase
>>> >> plugin, such
>>> >> as 0.8.4.
>>> >>
>>> >> A.
>>> >>
>>> >> On Tue, Jul 7, 2009 at 8:46 PM, Slide <[hidden email]> wrote:
>>> >>>
>>> >>> I was just trying to enable the polling mechanism in Clearcase and it
>>> >>> looked like it was working, except that when there were changes in
>>> >>> the
>>> >>> build, it did not trigger any builds, the UCM polling log said that
>>> >>> there were no changes even though the lshistory showed several
>>> >>> checkins and a couple added files. My thought on this is that the
>>> >>> regular expression for matching the history lines is not actually
>>> >>> matching the events because there is are some single quotes in the
>>> >>> output format like this:
>>> >>>
>>> >>> ''"20090707.170648" "username" "path\to\somefile.c"
>>> >>> "\main\APP_Int\49"
>>> >>> "create version" "checkin" "deliver.APP_username.20090707.170506"
>>> >>>
>>> >>> There are two single quotes at the front. I think this comes from the
>>> >>> string that is passed to the shell:
>>> >>>
>>> >>> $ cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt
>>> >>> '"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\"
>>> >>> \n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2
>>> >>>
>>> >>> You can see it has a single quote at the beginning and a single quote
>>> >>> at the end before the first double quotes and after the last double
>>> >>> quotes. I am not sure why these are there.
>>> >>>
>>> >>> --
>>> >>> slide-o-blog
>>> >>> http://slide-o-blog.blogspot.com/
>>> >>>
>>> >>> ---------------------------------------------------------------------
>>> >>> To unsubscribe, e-mail: [hidden email]
>>> >>> For additional commands, e-mail: [hidden email]
>>> >>>
>>> >>
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> slide-o-blog
>>> http://slide-o-blog.blogspot.com/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>
>



--
slide-o-blog
http://slide-o-blog.blogspot.com/

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

Reply | Threaded
Open this post in threaded view
|

Re: Clearcase Polling

Andrew Bayer
Ok - could you open an issue for this at http://hudson.dev.java.net/issues? And if you're willing and could test out the 0.8.2 and possibly 0.8.1 versions of the ClearCase plugin, it'd be much appreciated. Thanks.

A.

On Wed, Jul 8, 2009 at 7:30 AM, Slide <[hidden email]> wrote:
Hudson 1.303
OS: Windows Server 2003

The job is running on the same OS as Hudson.

Thanks

On Wed, Jul 8, 2009 at 7:25 AM, Andrew Bayer<[hidden email]> wrote:
> Also, what OS is Hudson running on, and, if different, what OS is the job
> running on?
>
> A.
>
> On Wed, Jul 8, 2009 at 7:25 AM, Andrew Bayer <[hidden email]> wrote:
>>
>> What version of Hudson are you running?
>>
>> A.
>>
>> On Wed, Jul 8, 2009 at 7:08 AM, Slide <[hidden email]> wrote:
>>>
>>> I'm currently using 0.8.3 and it seems to have this same problem. I'll
>>> try updating to 0.8.4
>>>
>>> Thanks
>>>
>>> On Wed, Jul 8, 2009 at 5:04 AM, raghu guru<[hidden email]> wrote:
>>> > Yes use clearcase 0.84, in 0.9 i had the same problem after changing to
>>> > 0.84
>>> > everything works fine
>>> >
>>> > On Wed, Jul 8, 2009 at 3:27 AM, Andrew Bayer <[hidden email]>
>>> > wrote:
>>> >>
>>> >> Hi -
>>> >>
>>> >> This is the second report I've seen of this - I'm not yet sure what
>>> >> the
>>> >> cause is. You may want to try an older version of the ClearCase
>>> >> plugin, such
>>> >> as 0.8.4.
>>> >>
>>> >> A.
>>> >>
>>> >> On Tue, Jul 7, 2009 at 8:46 PM, Slide <[hidden email]> wrote:
>>> >>>
>>> >>> I was just trying to enable the polling mechanism in Clearcase and it
>>> >>> looked like it was working, except that when there were changes in
>>> >>> the
>>> >>> build, it did not trigger any builds, the UCM polling log said that
>>> >>> there were no changes even though the lshistory showed several
>>> >>> checkins and a couple added files. My thought on this is that the
>>> >>> regular expression for matching the history lines is not actually
>>> >>> matching the events because there is are some single quotes in the
>>> >>> output format like this:
>>> >>>
>>> >>> ''"20090707.170648" "username" "path\to\somefile.c"
>>> >>> "\main\APP_Int\49"
>>> >>> "create version" "checkin" "deliver.APP_username.20090707.170506"
>>> >>>
>>> >>> There are two single quotes at the front. I think this comes from the
>>> >>> string that is passed to the shell:
>>> >>>
>>> >>> $ cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt
>>> >>> '"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\"
>>> >>> \n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2
>>> >>>
>>> >>> You can see it has a single quote at the beginning and a single quote
>>> >>> at the end before the first double quotes and after the last double
>>> >>> quotes. I am not sure why these are there.
>>> >>>
>>> >>> --
>>> >>> slide-o-blog
>>> >>> http://slide-o-blog.blogspot.com/
>>> >>>
>>> >>> ---------------------------------------------------------------------
>>> >>> To unsubscribe, e-mail: [hidden email]
>>> >>> For additional commands, e-mail: [hidden email]
>>> >>>
>>> >>
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> slide-o-blog
>>> http://slide-o-blog.blogspot.com/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>
>



--
slide-o-blog
http://slide-o-blog.blogspot.com/

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