It's all about the answers!

Ask a question

Building on Ubuntu


Manoj Panda (39336356) | asked Dec 02 '14, 7:01 a.m.
JAZZ DEVELOPER

Hi,

 I am using windows for CLM Server and Ubuntu as my build server where JBE is running. I am able to do the complete build  using the cmd line by running the script. but the same script when I am calling from a build definition, its not working.

here is the script what I am running on manually on Ubuntu machine on this path("/home/buildserver/rational/build) which is fine and no error. ./makeMtk -t xxx update-api && ./makeMtk -t xxx

from the error log:-

2014-12-02 16:44:49 [Jazz build engine] running on host: buildserver

2014-12-02 16:44:49 [Jazz build engine] Should build occur?

2014-12-02 16:44:49 [Jazz build engine] Yes: Always build a user initiated request.

2014-12-02 16:44:50 [Jazz build engine] Invoking pre-build participant "com.ibm.team.build.jazzscm"

2014-12-02 16:44:50 [Jazz build engine] Accepting changes into workspace "Workspace1" ...

2014-12-02 16:44:50 [Jazz build engine] Fetching files to fetch destination "/home/buildserver/rational/build" ...

2014-12-02 16:55:05 [Jazz build engine] Invoking build participant "com.ibm.team.build.cmdline"

Unknown the module: ./makeMtk.

It should be one of (android kernel dr k preloader pl lk tz md32)

Or try makeMtk -h

Build failed. Exit value was 25.

One answer



permanent link
sam detweiler (12.4k6180201) | answered Dec 02 '14, 7:16 a.m.
typically this is because the shell script used by the build engine doesn't do everything that the UI shell script does.

I have to edit /etc/profile on the ubuntu system to edit the system wide path

Your answer


Register or to post your answer.