It's all about the answers!

Ask a question

CRRTC3544E - how do I control where the output logs are written in an RTC JBE build?


Janet Masters (17413) | asked Feb 22 '17, 2:05 p.m.

CRRTC3544E  -      Either run the Jazz Build Engine in a directory where the user can create files, or modify the user's permissions in the operating system to allow the user to modify files.

How do I change the directory where the JBE will run?

Accepted answer


permanent link
Liam Doherty (2312) | answered Mar 15 '17, 11:44 a.m.
JAZZ DEVELOPER

So in the bat file that starts the Jazz Build Engine add the  -Djava.io.tmpdir=c:\temp\ccm at the end. Here is an example bat file to start a JBE and send the log output elsewhere:

cd "C:\Jazz Build Toolkits\v603\buildsystem\buildengine\eclipse"

jbe -vm "C:\Jazz Build Toolkits\v603\jre\bin\java" -repository https://localhost:9443/ccm/ -userId dohertl -pass dohertl -engineId Liams-Localhost-JBE -Djava.io.tmpdir=c:\temp\ccm


Liam

Janet Masters selected this answer as the correct answer

One other answer



permanent link
Lily Wang (4.9k714) | answered Feb 22 '17, 6:13 p.m.

Hope the document https://jazz.net/wiki/bin/view/Main/BuildFAQ#How_should_permissions_be_set_up can fix your issue.

Basically you need to start JBE from a directory where the current user has write permission.


Comments
Janet Masters commented Feb 23 '17, 2:28 p.m.

So if you have more than one product that will be built, and each product has its own build userid, what would you do?  We have three products that we would like to build in this environment, each with its own userid.  Thanks.


Lily Wang commented Feb 23 '17, 5:50 p.m.

The issue is not related to the user who requests a build, but the user who starts JBE process on build server. If the build definitions of all project areas use the same build engine, you only need to ensure the user who start JBE on the build engine has permission to write the log.

Your answer


Register or to post your answer.