Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8209970

[Appveyor] Fail the build if gradle fails.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx12
    • jfx12
    • javafx

      After https://bugs.openjdk.java.net/browse/JDK-8209765 was merged the Appveyor build no longer fails if a test fails. This is because the powershell script executes successfully, and returns a 0 exit code, even though the last exit code from invoking gradle was non-zero.

      To fix this we manually check the exit code if we are on Appveyor, and exit with it. This should let the build fail as intended.

            mennen Michael Ennen
            mennen Michael Ennen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: