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.
One answer
Check your Maven configuration.
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.