Skip to content

Commit

Permalink
Merge pull request #9858 from MarkEWaite/stable-2.479-backport-2
Browse files Browse the repository at this point in the history
Backporting for 2.479.1 (part 2)
  • Loading branch information
basil authored Oct 12, 2024
2 parents 7849dfb + c2ec435 commit a347514
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.7</version>
<version>9.7.1</version>
</dependency>
<dependency>
<groupId>org.samba.jcifs</groupId>
Expand Down
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 @@ -494,7 +494,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 a347514

Please sign in to comment.