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 <slide.o....@gmail.com> 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 <bill.wo...@gmail.com> 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 <bill....@gmail.com> 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

Reply via email to