Class HudsonJenkinsBuildServerData

    • Method Detail

      • isActiveServer

        public static boolean isActiveServer​(@Nonnull
                                             Map<String,​String> env)
        Parameters:
        env - The current system environment variables, obtained via System.getenv().
        Returns:
        true, if the system environment variables contain the Hudson/Jenkins specific environment variable; false otherwise
        See Also:
        JenkinsSetEnvironmentVariables