Skip to content

Commit

Permalink
Merge branch 'master' into fix-dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik authored Oct 7, 2024
2 parents a7e0aef + 4d7b993 commit 071c2ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions core/src/main/java/jenkins/model/queue/ItemDeletion.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,10 @@ public static void cancelBuildsInProgress(@NonNull Item initiatingItem) throws F
// comparison with executor.getCurrentExecutable() == executable currently should always be
// true as we no longer recycle Executors, but safer to future-proof in case we ever
// revisit recycling.
if (!entry.getKey().isAlive()
if (!entry.getKey().isActive()
|| entry.getValue() != entry.getKey().getCurrentExecutable()) {
iterator.remove();
}
// I don't know why, but we have to keep interrupting
entry.getKey().interrupt(Result.ABORTED);
}
Thread.sleep(50L);
}
Expand Down
2 changes: 1 addition & 1 deletion war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ THE SOFTWARE.
<!-- dependency of scm-api -->
<groupId>io.jenkins.plugins</groupId>
<artifactId>asm-api</artifactId>
<version>9.7-33.v4d23ef79fcc8</version>
<version>9.7.1-95.v9f552033802a_</version>
<type>hpi</type>
</artifactItem>
<artifactItem>
Expand Down

0 comments on commit 071c2ae

Please sign in to comment.