Klasse BuildResultNavigator

java.lang.Object
io.jenkins.plugins.analysis.core.util.BuildResultNavigator

public class BuildResultNavigator extends Object
Navigates from the current results to the same results of any other build of the same job.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • BuildResultNavigator

      public BuildResultNavigator()
  • Methodendetails

    • getSameUrlForOtherBuild

      public Optional<String> getSameUrlForOtherBuild(Run<?,?> currentBuild, String viewUrl, String resultId, String selectedBuildNumber)
      Navigates from the current results to the same results of any other build of the same job.
      Parameter:
      currentBuild - the current build that owns the view results
      viewUrl - the absolute URL to the view results
      resultId - the ID of the static analysis results
      selectedBuildNumber - the selected build to open the new results for
      Gibt zurück:
      the URL to the results if possible
    • getSameUrlForOtherBuild

      public Optional<String> getSameUrlForOtherBuild(Run<?,?> currentBuild, String viewUrl, String resultId, int selectedBuildNumber)
      Navigates from the current results to the same results of any other build of the same job.
      Parameter:
      currentBuild - the current build that owns the view results
      viewUrl - the absolute URL to the view results
      resultId - the ID of the static analysis results
      selectedBuildNumber - the selected build to open the new results for
      Gibt zurück:
      the URL to the results if possible