Class Cli


  • public class Cli
    extends Object
    CLI program which can be executed in a CI pipeline.

    It waits until a pending analysis is done. It then breaks the build if:

    - the analysis failed (can happen if the database is corrupt, SonarQube issues, etc.) - if the quality gate of the project is in error state (red)

    A broken build is signalled with the exit code `1`. If everything is okay, the exit code is `0`.

    • Constructor Detail

      • Cli

        public Cli()
    • Method Detail

      • main

        public static void main​(String[] args)