Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-31202] Using new workflow compatible functions.
  • Loading branch information
benjaminfuchs committed Jul 18, 2016
1 parent 3b8dd54 commit 79a299a
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -69,15 +69,15 @@ protected GraphConfigurationView createUserConfiguration(final StaplerRequest re

private UserGraphConfigurationView createUserConfiguration(final StaplerRequest request, final String urlName) {
return new UserGraphConfigurationView(
createConfiguration(getAvailableGraphs()), getProject(),
createConfiguration(getAvailableGraphs()), getOwner(),
urlName, WarningsDescriptor.getProjectUrl(null),
request.getCookies(), createBuildHistory());
}

@Override
protected GraphConfigurationView createDefaultConfiguration() {
return new DefaultGraphConfigurationView(
createConfiguration(getAvailableGraphs()), getProject(),
createConfiguration(getAvailableGraphs()), getOwner(),
WarningsDescriptor.getProjectUrl(parser),
createBuildHistory(), WarningsDescriptor.getProjectUrl(null));
}
Expand Down Expand Up @@ -106,7 +106,7 @@ protected WarningsResultAction getResultAction(final Run<?, ?> lastBuild) {
*/
@Override
protected BuildHistory createBuildHistory() {
Run<?, ?> lastFinishedBuild = getLastFinishedBuild();
Run<?, ?> lastFinishedBuild = getLastFinishedRun();
if (lastFinishedBuild == null) {
return new NullBuildHistory();
}
Expand Down

0 comments on commit 79a299a

Please sign in to comment.