Skip to content

Commit

Permalink
[JENKINS-15185] UCM: lshistory not called anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlatombe committed Sep 17, 2012
1 parent 5c9e9f2 commit 9a8be71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/hudson/plugins/clearcase/ClearCaseUcmSCM.java
Expand Up @@ -251,7 +251,8 @@ protected UcmHistoryAction createHistoryAction(VariableResolver<String> variable
}

@Override
public String[] getViewPaths(VariableResolver<String> variableResolver, AbstractBuild build, Launcher launcher) throws IOException, InterruptedException {
public String[] getViewPaths(VariableResolver<String> variableResolver, AbstractBuild build, Launcher launcher, boolean forPolling) throws IOException,
InterruptedException {
if (!useManualLoadRules) {
// If the revision state is already available for this build, just use the value
ClearCaseUCMSCMRevisionState revisionState = build.getAction(ClearCaseUCMSCMRevisionState.class);
Expand All @@ -264,9 +265,8 @@ public String[] getViewPaths(VariableResolver<String> variableResolver, Abstract
ClearTool clearTool = createClearTool(build, launcher);
List<Baseline> latest = UcmCommon.getLatestBaselines(clearTool, getStream(variableResolver));
return UcmCommon.generateLoadRulesFromBaselines(clearTool, getStream(variableResolver), latest);
} else {
return super.getViewPaths(variableResolver, build, launcher);
}
return super.getViewPaths(variableResolver, build, launcher, forPolling);
}

@Override
Expand Down

0 comments on commit 9a8be71

Please sign in to comment.