Interface CIDetector

All Known Implementing Classes:
CircleCIDetector, GenericCIDetector, GithubCIDetector, JenkinsCIDetector, TeamcityCIDetector, TravisCIDetector

public interface CIDetector
Service interface to detect CI system process runs on, if any.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.apache.maven.api.cli.cisupport.CIInfo>
    Returns non-empty optional with CI information, if CI is detected, empty otherwise.
  • Method Details

    • detectCI

      Optional<org.apache.maven.api.cli.cisupport.CIInfo> detectCI()
      Returns non-empty optional with CI information, if CI is detected, empty otherwise.