Skip to content

Commit

Permalink
[FIXED JENKINS-19314] diff from last successfully checked out build
Browse files Browse the repository at this point in the history
(which might currently be building) rather than last finished build
  • Loading branch information
pelchats committed Nov 30, 2013
1 parent eb2a491 commit c709d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/scm/AbstractCvs.java
Expand Up @@ -512,7 +512,7 @@ protected PollingResult compareRemoteRevisionWith(final AbstractProject<?, ?> pr
}

// get the list of current changed files in this repository
final List<CvsFile> changes = calculateRepositoryState(project.getLastCompletedBuild().getTime(),
final List<CvsFile> changes = calculateRepositoryState(build.getTime(),
currentPollDate, repository, listener, envVars, workspace);

final List<CvsFile> remoteFiles = remoteState.get(repository);
Expand Down

0 comments on commit c709d10

Please sign in to comment.