Class DefaultConsoleUrlProvider

    • Constructor Detail

      • DefaultConsoleUrlProvider

        public DefaultConsoleUrlProvider()
    • Method Detail

      • getConsoleUrl

        public String getConsoleUrl​(Run<?,​?> run)
        Description copied from interface: ConsoleUrlProvider
        Get a URL relative to the context path of Jenkins which should be used to link to the console for the specified build.

        Should only be used in the context of serving an HTTP request.

        Specified by:
        getConsoleUrl in interface ConsoleUrlProvider
        run - the build
        the URL for the console for the specified build, relative to the context of Jenkins, or null if this implementation does not want to server a special console view for this build.