It's all about the answers!

Ask a question

Build failed. Exit value was 1.


chandra bhushan (115) | asked Jan 15 '19, 12:58 a.m.

 Hi, 

Can anyone help me figure out what this error could be and how to fix this during RTC Build using build engine ? 

i am running build toolkit using commnd line using below command:

jbe -vm "C:\Program Files\Java\jdk1.7.0_21\bin\java" -repository https://**/ccm -userId * -passwordFile c:/temp/passFile.txt -engineId  **

below is the logs:
2019-01-15 11:11:43 [Jazz build engine] Jazz Build Engine Version: 6.0.6
2019-01-15 11:11:44 [Jazz build engine] running on host: *
2019-01-15 11:11:44 [Jazz build engine] Should build occur?
2019-01-15 11:11:44 [Jazz build engine] Yes: Always build a user initiated request.
2019-01-15 11:11:44 [Jazz build engine] Invoking pre-build participant "com.ibm.team.build.jazzscm"
2019-01-15 11:11:46 [Jazz build engine] Accepting changes into workspace "* Workspace" ...
2019-01-15 11:11:49 [Jazz build engine] Fetching files to fetch destination "C:\temp" ...
2019-01-15 11:11:57 [Jazz build engine] Invoking build participant "com.ibm.team.build.maven"
Build failed. Exit value was 1.

it would be helpful if someone can help me in resolving this error.

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Jan 15 '19, 2:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Check your Maven configuration.


Comments
David Lafreniere commented Jan 15 '19, 9:57 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Ralph is correct; the value of '1' is not a return value that is generated by the Jazz Build Engine (JBE) code. The MavenBuildParticipant is a subclass of CommandLineBuildParticipant, and so the return value is coming from us calling 'java.lang.Process.waitFor()', so you will need to do some digging on your end to see the Maven Configuration you have, and under what cases a '1' is returned from calling that process.

Your answer


Register or 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.