Community
Participate
Working Groups
Created attachment 285647 [details] Example project The "Debug" build configuration in the attached project has an error in the code, thus the build fails for this configuration. If the project is build using headless mode and the build order is "Debug" followed by "Release" (the build order appears to be random), the exit code will be set to 0 even that there was a build error. Invoking the headless build multiple times, it will become clear that the overall verdict will always be the same as the verdict of the last built configuration. The verdict of the build needs to be checked between the build configurations and not after all build configurations has been built for a project in order to have the correct verdict.
New Gerrit change created: https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/176803
Gerrit change https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/176803 was merged to [master]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=afd8342ec00e2b33a7d70b80579ba054a3d9fac2