Integrated: 8046: build.bat --packageAgent doesn't detect failed builds

Ralf Schmelter rschmelter at openjdk.org
Tue Apr 18 20:17:01 UTC 2023


On Mon, 27 Feb 2023 16:36:16 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:

> When running build.bat --packageAgent, the build.bat doesn't detect if the maven call fails, since the ERRORLEVEL variable is overridden by the "cd .." call before it is checked. Additionally the format of the if/else construct is wrong (uses curly braces in the else part).

This pull request has now been integrated.

Changeset: 1fb69d47
Author:    Ralf Schmelter <rschmelter at openjdk.org>
Committer: Christoph Langer <clanger at openjdk.org>
URL:       https://git.openjdk.org/jmc/commit/1fb69d47fa54bbf98e2463c0b07be2272b6f8a87
Stats:     4 lines in 1 file changed: 1 ins; 1 del; 2 mod

8046: build.bat --packageAgent doesn't detect failed builds

Reviewed-by: clanger, hirt

-------------

PR: https://git.openjdk.org/jmc/pull/472


More information about the jmc-dev mailing list