Skip to content
Browse files
[JENKINS-49813] RunningJobs: Remove extra shouldCancelPatchsetNumber …

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 <>
  • Loading branch information
aswild committed Mar 1, 2018
1 parent 76f654c commit 388ee68cc75ba04b10ce19c702af3f7e1dce768c
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/
@@ -2277,11 +2277,6 @@ public void scheduled(ChangeBasedEvent event) {

if (!shouldCancelPatchsetNumber) {


0 comments on commit 388ee68

Please sign in to comment.