Class GitHubBuildServerData

    • Method Detail

      • isActiveServer

        public static boolean isActiveServer​(java.util.Map<java.lang.String,​java.lang.String> env)
        Parameters:
        env - The current system environment variables, obtained via System.getenv().
        Returns:
        true, if the system environment variables contain the Github specific environment variable; false otherwise
        See Also:
        GitHubActionsUsingEnvironmentVariables
      • getBuildBranch

        public java.lang.String getBuildBranch()
        Specified by:
        getBuildBranch in class BuildServerDataProvider
        Returns:
        the branch name provided by the server or an empty string