Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import jenkins.security.NotReallyRoleSensitiveCallable;

/**
* Retention strategy that allows a cloud slave to run only a single build before disconnecting.
Expand Down Expand Up @@ -121,8 +120,8 @@ private void done(final AbstractCloudComputer<?> c) {
Computer.threadPoolForRemoting.submit(new Runnable() {
@Override
public void run() {
Queue.withLock(new NotReallyRoleSensitiveCallable<Void,RuntimeException>() {
@Override public Void call() {
Queue.withLock(new Runnable() {
@Override public void run() {
try {
AbstractCloudSlave node = c.getNode();
if (node != null) {
Expand All @@ -139,7 +138,6 @@ public void run() {
terminating = false;
}
}
return null;
}
});
}
Expand Down