I am puzzled by your and Greg’s reply:
I added this as a pre-build step

#!/bin/bash
echo "viewtag: $CLEARCASE_VIEWTAG"
echo "viewpath: $CLEARCASE_VIEWPATH"

and here is the relevant section of the resulting run log:

…
[workspace] $ /usr/atria/bin/cleartool mkview -stream 
id817773_2012_03_PCP@/rqpp/projects/CCS_WSC_prj -tag 
wscbuild_master_PCP_Tests_hudson /var/views/wscbuild_master_PCP_Tests_hudson
Created view.
Host-local path: el0966.bc:/var/views/wscbuild_master_PCP_Tests_hudson
Global path:     /net/el0966.bc/var/views/wscbuild_master_PCP_Tests_hudson
It has the following rights:
User : wscbuild : rwx
Group: GG_WSC   : r-x
Other:          : r-x
Attached view to stream "id817773_2012_03_PCP".
[workspace] $ /usr/atria/bin/cleartool startview 
wscbuild_master_PCP_Tests_hudson
[workspace] $ /usr/atria/bin/cleartool setcs -tag 
wscbuild_master_PCP_Tests_hudson -stream
Found mavenVersion 2.2.1 from file 
jar:file:/opt/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
[workspace] $ /bin/bash /tmp/hudson214772198586489225.sh
viewtag: wscbuild_master_PCP_Tests_hudson
viewpath: /view/view
Parsing POMs
…

Yes, we use dynamic views. This is essential to keep build speed and disk usage 
within reasonable limits.

thx,

Yo

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Vincent Latombe
Sent: 12 February 2012 15:56
To: jenkinsci-users@googlegroups.com
Subject: Re: SCM polling with ClearCase

Hello,

from your logs I'm 'guessing' you are working using a dynamic view. As Greg 
pointed out, when using a dynamic view, view path and view tag must be the same.

Vincent

2012/2/11 Greg Moncreaff <monc...@gmail.com<mailto:monc...@gmail.com>>
I don't know about streams,
but a similar issue occurs with "base" clearcase

if
   viewPath != viewTag
in configuration


________________________________

***** Disclaimer *****
http://www.belgacom.be/maildisclaimer

Reply via email to