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

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

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?

0 votes


Accepted answer

Permanent link

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

0 votes


One other answer

Permanent link

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.

1 vote

Comments

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.

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 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
× 12,025
× 76

Question asked: Feb 22 '17, 2:05 p.m.

Question was seen: 3,267 times

Last updated: Mar 15 '17, 11:44 a.m.

Confirmation Cancel Confirm