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

Build Forge-RTC Integration: Error Unable to set working directory to 'D:\BuildFolder\Helloworld_Project\BUILD_2\Helloworld_Project\BUILD_2' (2)

Hi,

I have integrated Build Forge and RTC on windows. I have followed link https://jazz.net/library/article/640.  I am facing Unable to set working directory to 'D:\BuildFolder\Helloworld_Project\BUILD_2\Helloworld_Project\BUILD_2' (2) when project executes .source JazzJBE  in its steps.

I am trying to figure out from where is it taking this path. How to resolve this problem. Can anybody help me.

Thank you in advance.
Deepali Nigade

0 votes



2 answers

Permanent link
The Issue is resolved by replacing ".source JazzJBE" with ".source JazzJBEv2"

The error message see in log, reports the following:

Unable to set working directory to 'D:\BuildForgebuildDeepali\HelloBSWProject\BUILD_19\HelloBSWProject\BUILD_19' (2).

The problem is at the following line of the execution:

<run command="runJBE" params="" server="$BFServer" dir="/$BF_PROJECTNAME_PHYS/$BF_TAG" timeout="360"/> 

Since the default directory for the agent is already ="/$BF_PROJECTNAME_PHYS/$BF_TAG, this unnecessary and causes failure in the system. While you can modify this adaptor to resolve your issue (By replace ="/$BF_PROJECTNAME_PHYS/$BF_TAG with just /) or by creating a new adaptor from this template,  there is another adaptor called JazzJBEv2 that has already addressed this issue.

I am not sure why still supply both adaptors, but that could be related to other OS exepecting this format.

Therefore in order to resolve this issue, please replace ".source JazzJBE" with ".source JazzJBEv2" in your environment.

0 votes


Permanent link
 This is likely the $team_scm_fetchDestination parameter in the build definition.
https://jazz.net/library/article/195

0 votes

Comments

Thank you Donald,

The $team_scm_fetchDestination parameter in the build definition is set to D:\BF_Directory .
Can you please guide me more on the issue 'D:\BuildFolder\Helloworld_Project\BUILD_2\Helloworld_Project\BUILD_2' (2) .


Sorry I don't have a better idea how the path "D:\BuildFolder" comes into place.

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
× 6,117

Question asked: Jun 14 '16, 6:04 a.m.

Question was seen: 3,235 times

Last updated: Jun 21 '16, 4:08 a.m.

Confirmation Cancel Confirm