Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

BF Can't find files in a mapped directory which actually loc

Hi

I have perl build scripts stored in one of the build server, e.g. server1, in D:\ccstg\triggers. It says "Can't open perl script, no such file or directory.

I map this directory C
\\server1\ccstg to N:\ on all build servers. No problem for other build servers, but this server1 doesn't work. BF agent can't find the files in N:\triggers. You know the file is actually in D:\ccstg\triggers on this server.

Any idea?

Thanks
Jirong

0 votes



3 answers

Permanent link
Hi

I have perl build scripts stored in one of the build server, e.g. server1, in D:\ccstg\triggers. It says "Can't open perl script, no such file or directory.

I map this directory C
\\server1\ccstg to N:\ on all build servers. No problem for other build servers, but this server1 doesn't work. BF agent can't find the files in N:\triggers. You know the file is actually in D:\ccstg\triggers on this server.

Any idea?

Thanks
Jirong


Is the drive mapping successfully? It would probably be helpful to see the activity_log from the agent on that system. You can enable this by editing the bfagent.conf and unremarking the activity_log line and setup a path to a valid writable log file name. Recreate the problem on this agent and you should see debug information in that log file.

Regards,
Pete

0 votes


Permanent link
The drive is already mapped with no problem.

I ended up using _MAP variable, seems working. Thanks for your help.

Jirong

0 votes


Permanent link
I've discoverd the _MAP variable is alway the way to go on Windows, and is the only way to go if the drive is not local to the Machine. The best approach is to use it to map next available drive, as opposed to hard mapping to a specific drive. Otherwise, you can end up with problems when 2 jobs try to map differently.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 20 '10, 10:37 a.m.

Question was seen: 7,560 times

Last updated: Aug 20 '10, 10:37 a.m.

Confirmation Cancel Confirm