Failed to load workspace from server to build workspace and ant build job is always in progress
Hi all,
I am trying to run build from RTC using Jazz as Build Engine with Ant.
Below mentioned are the steps that I performed.
1) Created new build definition with build template as Ant - JBE.
2) In properties defined the path build workspace.
3) In Jazz Source control defined the workspace from server to be build with load directory as per defined under properties.
4) Under Ant provided the path of Ant file to build.
Now after all this when I request for the build it shows in progress state only and also not able to see where all it got stuck if it got stuck somewhere.
Also when I checked the build workspace where the server workspace to be loaded before proceeding ahead with build, I found it as blanked.
Kindly provide some help in building the project.
regards:
Ankit
|
2 answers
I have come across similar issue.
Any update
Comments
Ankit Vashistha
commented Jun 16 '16, 6:36 a.m.
@Deepali Nigade
|
Hi Ankit,
Thank you for your reply I am still stuck up with the same issue. My current scenario is different where I am using Build forge engine. Below are the steps
I have configured RTC and Build Forge.
1. I have created build Build Forge engine and build definition in RTC.
2. In build forge I have created environment with four variables ( Repository_Address,Build_User, Build_Password, Build_Engine_Path)
I have created project with the environment and with two steps.
Step1 has command .source JazzJBE.
Step2 has command
cd ${team_scm_fetchDestination}/Addition
g++ main.cpp -o main
3. under Jazz source control tab in build definition. I have selected proper workspace for "build workspace" .
4. under load option I have specified the path to load BF workspace.
when I request for build. It fails and found my BF workspace as blank.
in my log file I can see "Unable to set working directory to 'D:\BuildFolder\Helloworld_Project\BUILD_2\Helloworld_Project\BUILD_2' (2)" I am trying to resolve this for a long time but haven't got an any solution. I have even posted questions for the same but all in vain. May be Build Forge is difficult to configure. Any help would really be appreciated. Comments
Ankit Vashistha
commented Jan 06 '21, 6:36 a.m.
I feel you need to start the build engine before requesting for the build.
|
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.
Comments
Is there any output in the JBE console, or is there a build log file produced on disk that might contain additional information? (ex: stack traces, or showing how far it got, etc.)
@David Lafreniere
Hi David, Sorry for being late in reply as i got stuck in some other stuff.
No I dont find any log file for traces. Kindly provide some help.
Can you re-launch JBE using -verbose and show us the JBE console output?