Package io.jenkins.plugins.util
Klasse BuildResultNavigator
java.lang.Object
io.jenkins.plugins.util.BuildResultNavigator
Navigates from the current results to the same results of any other build of the same job.
- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetSameUrlForOtherBuild(Run<?, ?> currentBuild, String viewUrl, String resultId, Run<?, ?> selectedBuild) Navigates from the current results to the same results of any other build of the same job.getSameUrlForOtherBuild(Run<?, ?> currentBuild, String currentAbsoluteBrowserUrl, String resultId, String selectedBuildDisplayName) Navigates from the current results to the same results of any other build of the same job.
-
Konstruktordetails
-
BuildResultNavigator
public BuildResultNavigator()
-
-
Methodendetails
-
getSameUrlForOtherBuild
public Optional<String> getSameUrlForOtherBuild(Run<?, ?> currentBuild, String currentAbsoluteBrowserUrl, String resultId, String selectedBuildDisplayName) 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 resultscurrentAbsoluteBrowserUrl- the absolute URL to the view resultsresultId- the ID of the static analysis resultsselectedBuildDisplayName- 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, Run<?, ?> selectedBuild) 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 resultsviewUrl- the absolute URL to the view resultsresultId- the ID of the static analysis resultsselectedBuild- the selected build to open the new results for- Gibt zurück:
- the URL to the results if possible
-