Skip to content

Commit

Permalink
renamed changeNumbersToBuild to workspaceChanges
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetti committed Nov 21, 2013
1 parent dc2a445 commit a404396
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/hudson/plugins/perforce/PerforceSCM.java
Expand Up @@ -967,9 +967,9 @@ public boolean checkout(AbstractBuild build, Launcher launcher,
// Set newestChange down to the next available changeset if we're building one change at a time
if (oneChangelistOnly && build.getPreviousBuild() != null
&& lastChange > 0 && newestChange > lastChange) {
List<Integer> changeNumbersToBuild = depot.getChanges().getChangeNumbersTo(p4WorkspacePath, lastChange+1);
newestChange = changeNumbersToBuild.get(changeNumbersToBuild.size()-1);
log.println("Remaining changes: " + changeNumbersToBuild);
List<Integer> workspaceChanges = depot.getChanges().getChangeNumbersTo(p4WorkspacePath, lastChange+1);
newestChange = workspaceChanges.get(workspaceChanges.size()-1);
log.println("Remaining changes: " + workspaceChanges);
log.println("Building next changeset in sequence: " + newestChange);
}

Expand Down

0 comments on commit a404396

Please sign in to comment.