Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JENKINS-49813] RunningJobs: Remove extra shouldCancelPatchsetNumber …
…check An extra check for !shouldCancelPatchsetNumber after the check for (!abortBecauseOfTopic && !shouldCancelpatchsetNumber) breaks the "Abort patch sets with same topic" feature. It appears that these lines were added inadvertently during merge conflict resolution in 7455d86. Removing this extra if block allows for cancelling running jobs when a new patchset arrives on the same topic. Signed-off-by: Allen Wild <allenwild93@gmail.com>
- Loading branch information
Showing
with
0 additions
and 5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -2277,11 +2277,6 @@ public void scheduled(ChangeBasedEvent event) { | ||
continue; | ||
} | ||
|
||
outdatedEvents.add(runningChangeBasedEvent); | ||
it.remove(); | ||
} | ||