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

Build failed. Exit value was 1.

 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.

0 votes



One answer

Permanent link

 Check your Maven configuration.

0 votes

Comments

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 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

Question asked: Jan 15 '19, 12:58 a.m.

Question was seen: 1,443 times

Last updated: Jan 15 '19, 9:57 a.m.

Confirmation Cancel Confirm