Class AppveyorInformation

  • All Implemented Interfaces:
    CiInformation

    public class AppveyorInformation
    extends java.lang.Object
    implements CiInformation
    https://www.appveyor.com/docs/environment-variables/
    • Method Detail

      • isCi

        public boolean isCi()
        Specified by:
        isCi in interface CiInformation
        Returns:
        If the build is running in a CI environment
      • getBuildNumber

        @Nullable
        public java.lang.String getBuildNumber()
        Specified by:
        getBuildNumber in interface CiInformation
        Returns:
        A unique identifier of the build. Usually a sequential buildnumber, but can be anything depending on the CI environment
      • getBranch

        @Nullable
        public java.lang.String getBranch()
        Specified by:
        getBranch in interface CiInformation
        Returns:
        The current branch for which a build is being executed
      • getPullRequest

        @Nullable
        public java.lang.String getPullRequest()
        Specified by:
        getPullRequest in interface CiInformation
        Returns:
        A unique identifier of the pull request. Usually a sequential number, but can be anything depending on the SCM platform
      • getPullRequestTargetBranch

        @Nullable
        public java.lang.String getPullRequestTargetBranch()
        Specified by:
        getPullRequestTargetBranch in interface CiInformation
        Returns:
        The branch where the pull request will be merged into if it is merged
      • getTag

        @Nullable
        public java.lang.String getTag()
        Specified by:
        getTag in interface CiInformation
        Returns:
        The current tag for which a build is being executed