Re: Issues calling cleartool from Jenkins
I'll give that a shot. Not sure how to do it for a Dynamic ClearCase view though. On Wednesday, August 8, 2012 3:20:32 PM UTC-6, slide wrote: > > Agreed...I can't count on all my digits the number of times NOT using a > UNC has brought me pain. > > Sent from my Windows Phone > From: Richard Bywater > Sent: 8/8/2012 2:18 PM > To: jenkins...@googlegroups.com > Subject: Re: Issues calling cleartool from Jenkins > Or, probably more reliable, use the full UNC path rather than rely on > drive mappings - will save you pain down the road :) > > Richard. > > On 9/08/2012, at 8:28 AM, Slide > wrote: > > > Please see here [1] which says that persistent network shares are not > > accessible from services, even if logged in as the same account. You > > may need to manually map the drive as part of your build step. > > > > 1 - > http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service > > > > > On Wed, Aug 8, 2012 at 1:04 PM, Bill Wonch > > > > wrote: > >> I am. I log onto the server as the same account the Apache Tomcat 7.0 > >> service is running under. > >> > >> > >> On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote: > >>> > >>> I Y: a network share? If so, are you running from the command line as > >>> the same user that Jenkins is running as? If not, you may need to add > >>> permissions for that user to that share (and actually mount the > >>> network share under that account since mapped drives are not shared > >>> between users). > >>> > >>> slide > >>> > >>> On Wed, Aug 8, 2012 at 12:47 PM, Bill Wonch > wrote: > >>>> Hi everyone - > >>>> > >>>> I'm having issues calling cleartool from a "Execute Windows Batch > >>>> Command" > >>>> step. In Jenkins, I see this output: > >>>> > >>>> C:\POC\Jenkins\workspace\Deploy-Flex>cleartool checkout -nc > >>>> Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip > >>>> > >>>> cleartool: Error: Unable to access > >>>> "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No > such > >>>> file > >>>> or directory. > >>>> > >>>> > >>>> When I run the same command from the command line, it works fine: > >>>> > >>>> > >>>> C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc > >>>> Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip > >>>> Checked out > >>>> "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" > >>>> from version "\main\10". > >>>> > >>>> > >>>> This is on a WinXP machine. > >>>> > >>>> > >>>> Anyone come across this before? > >>>> > >>>> > >>>> Thanks! > >>>> > >>>> > >>>> Bill > >>> > >>> > >>> > >>> -- > >>> Website: http://earl-of-code.com > > > > > > > > -- > > Website: http://earl-of-code.com >
Re: Issues calling cleartool from Jenkins
On Wednesday, August 8, 2012 3:20:32 PM UTC-6, slide wrote: > > Agreed...I can't count on all my digits the number of times NOT using a > UNC has brought me pain. > > Sent from my Windows Phone > From: Richard Bywater > Sent: 8/8/2012 2:18 PM > To: jenkins...@googlegroups.com > Subject: Re: Issues calling cleartool from Jenkins > Or, probably more reliable, use the full UNC path rather than rely on > drive mappings - will save you pain down the road :) > > Richard. > > On 9/08/2012, at 8:28 AM, Slide > wrote: > > > Please see here [1] which says that persistent network shares are not > > accessible from services, even if logged in as the same account. You > > may need to manually map the drive as part of your build step. > > > > 1 - > http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service > > > > > On Wed, Aug 8, 2012 at 1:04 PM, Bill Wonch > > > > wrote: > >> I am. I log onto the server as the same account the Apache Tomcat 7.0 > >> service is running under. > >> > >> > >> On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote: > >>> > >>> I Y: a network share? If so, are you running from the command line as > >>> the same user that Jenkins is running as? If not, you may need to add > >>> permissions for that user to that share (and actually mount the > >>> network share under that account since mapped drives are not shared > >>> between users). > >>> > >>> slide > >>> > >>> On Wed, Aug 8, 2012 at 12:47 PM, Bill Wonch > wrote: > >>>> Hi everyone - > >>>> > >>>> I'm having issues calling cleartool from a "Execute Windows Batch > >>>> Command" > >>>> step. In Jenkins, I see this output: > >>>> > >>>> C:\POC\Jenkins\workspace\Deploy-Flex>cleartool checkout -nc > >>>> Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip > >>>> > >>>> cleartool: Error: Unable to access > >>>> "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No > such > >>>> file > >>>> or directory. > >>>> > >>>> > >>>> When I run the same command from the command line, it works fine: > >>>> > >>>> > >>>> C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc > >>>> Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip > >>>> Checked out > >>>> "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" > >>>> from version "\main\10". > >>>> > >>>> > >>>> This is on a WinXP machine. > >>>> > >>>> > >>>> Anyone come across this before? > >>>> > >>>> > >>>> Thanks! > >>>> > >>>> > >>>> Bill > >>> > >>> > >>> > >>> -- > >>> Website: http://earl-of-code.com > > > > > > > > -- > > Website: http://earl-of-code.com >
RE: Issues calling cleartool from Jenkins
Agreed...I can't count on all my digits the number of times NOT using a UNC has brought me pain. Sent from my Windows Phone From: Richard Bywater Sent: 8/8/2012 2:18 PM To: jenkinsci-users@googlegroups.com Subject: Re: Issues calling cleartool from Jenkins Or, probably more reliable, use the full UNC path rather than rely on drive mappings - will save you pain down the road :) Richard. On 9/08/2012, at 8:28 AM, Slide wrote: > Please see here [1] which says that persistent network shares are not > accessible from services, even if logged in as the same account. You > may need to manually map the drive as part of your build step. > > 1 - > http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service > > On Wed, Aug 8, 2012 at 1:04 PM, Bill Wonch wrote: >> I am. I log onto the server as the same account the Apache Tomcat 7.0 >> service is running under. >> >> >> On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote: >>> >>> I Y: a network share? If so, are you running from the command line as >>> the same user that Jenkins is running as? If not, you may need to add >>> permissions for that user to that share (and actually mount the >>> network share under that account since mapped drives are not shared >>> between users). >>> >>> slide >>> >>> On Wed, Aug 8, 2012 at 12:47 PM, Bill Wonch wrote: >>>> Hi everyone - >>>> >>>> I'm having issues calling cleartool from a "Execute Windows Batch >>>> Command" >>>> step. In Jenkins, I see this output: >>>> >>>> C:\POC\Jenkins\workspace\Deploy-Flex>cleartool checkout -nc >>>> Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip >>>> >>>> cleartool: Error: Unable to access >>>> "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such >>>> file >>>> or directory. >>>> >>>> >>>> When I run the same command from the command line, it works fine: >>>> >>>> >>>> C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc >>>> Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip >>>> Checked out >>>> "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" >>>> from version "\main\10". >>>> >>>> >>>> This is on a WinXP machine. >>>> >>>> >>>> Anyone come across this before? >>>> >>>> >>>> Thanks! >>>> >>>> >>>> Bill >>> >>> >>> >>> -- >>> Website: http://earl-of-code.com > > > > -- > Website: http://earl-of-code.com
Re: Issues calling cleartool from Jenkins
Or, probably more reliable, use the full UNC path rather than rely on drive mappings - will save you pain down the road :) Richard. On 9/08/2012, at 8:28 AM, Slide wrote: > Please see here [1] which says that persistent network shares are not > accessible from services, even if logged in as the same account. You > may need to manually map the drive as part of your build step. > > 1 - > http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service > > On Wed, Aug 8, 2012 at 1:04 PM, Bill Wonch wrote: >> I am. I log onto the server as the same account the Apache Tomcat 7.0 >> service is running under. >> >> >> On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote: >>> >>> I Y: a network share? If so, are you running from the command line as >>> the same user that Jenkins is running as? If not, you may need to add >>> permissions for that user to that share (and actually mount the >>> network share under that account since mapped drives are not shared >>> between users). >>> >>> slide >>> >>> On Wed, Aug 8, 2012 at 12:47 PM, Bill Wonch wrote: Hi everyone - I'm having issues calling cleartool from a "Execute Windows Batch Command" step. In Jenkins, I see this output: C:\POC\Jenkins\workspace\Deploy-Flex>cleartool checkout -nc Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip cleartool: Error: Unable to access "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such file or directory. When I run the same command from the command line, it works fine: C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip Checked out "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" from version "\main\10". This is on a WinXP machine. Anyone come across this before? Thanks! Bill >>> >>> >>> >>> -- >>> Website: http://earl-of-code.com > > > > -- > Website: http://earl-of-code.com
Re: Issues calling cleartool from Jenkins
Please see here [1] which says that persistent network shares are not accessible from services, even if logged in as the same account. You may need to manually map the drive as part of your build step. 1 - http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service On Wed, Aug 8, 2012 at 1:04 PM, Bill Wonch wrote: > I am. I log onto the server as the same account the Apache Tomcat 7.0 > service is running under. > > > On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote: >> >> I Y: a network share? If so, are you running from the command line as >> the same user that Jenkins is running as? If not, you may need to add >> permissions for that user to that share (and actually mount the >> network share under that account since mapped drives are not shared >> between users). >> >> slide >> >> On Wed, Aug 8, 2012 at 12:47 PM, Bill Wonch wrote: >> > Hi everyone - >> > >> > I'm having issues calling cleartool from a "Execute Windows Batch >> > Command" >> > step. In Jenkins, I see this output: >> > >> > C:\POC\Jenkins\workspace\Deploy-Flex>cleartool checkout -nc >> > Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip >> > >> > cleartool: Error: Unable to access >> > "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such >> > file >> > or directory. >> > >> > >> > When I run the same command from the command line, it works fine: >> > >> > >> > C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc >> > Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip >> > Checked out >> > "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" >> > from version "\main\10". >> > >> > >> > This is on a WinXP machine. >> > >> > >> > Anyone come across this before? >> > >> > >> > Thanks! >> > >> > >> > Bill >> >> >> >> -- >> Website: http://earl-of-code.com -- Website: http://earl-of-code.com
Re: Issues calling cleartool from Jenkins
I am. I log onto the server as the same account the Apache Tomcat 7.0 service is running under. On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote: > > I Y: a network share? If so, are you running from the command line as > the same user that Jenkins is running as? If not, you may need to add > permissions for that user to that share (and actually mount the > network share under that account since mapped drives are not shared > between users). > > slide > > On Wed, Aug 8, 2012 at 12:47 PM, Bill Wonch > > wrote: > > Hi everyone - > > > > I'm having issues calling cleartool from a "Execute Windows Batch > Command" > > step. In Jenkins, I see this output: > > > > C:\POC\Jenkins\workspace\Deploy-Flex>cleartool checkout -nc > > Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip > > > > cleartool: Error: Unable to access > > "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such > file > > or directory. > > > > > > When I run the same command from the command line, it works fine: > > > > > > C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc > > Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip > > Checked out > "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" > > from version "\main\10". > > > > > > This is on a WinXP machine. > > > > > > Anyone come across this before? > > > > > > Thanks! > > > > > > Bill > > > > -- > Website: http://earl-of-code.com >
Re: Issues calling cleartool from Jenkins
I Y: a network share? If so, are you running from the command line as the same user that Jenkins is running as? If not, you may need to add permissions for that user to that share (and actually mount the network share under that account since mapped drives are not shared between users). slide On Wed, Aug 8, 2012 at 12:47 PM, Bill Wonch wrote: > Hi everyone - > > I'm having issues calling cleartool from a "Execute Windows Batch Command" > step. In Jenkins, I see this output: > > C:\POC\Jenkins\workspace\Deploy-Flex>cleartool checkout -nc > Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip > > cleartool: Error: Unable to access > "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip": No such file > or directory. > > > When I run the same command from the command line, it works fine: > > > C:\POC\Jenkins\workspace\Deploy-Flex\clearcase>cleartool co -nc > Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip > Checked out "Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip" > from version "\main\10". > > > This is on a WinXP machine. > > > Anyone come across this before? > > > Thanks! > > > Bill -- Website: http://earl-of-code.com