From 093d8ababe63e6b5374da33a8a8991e4a5a73873 Mon Sep 17 00:00:00 2001 From: offa Date: Fri, 3 May 2024 06:56:30 +0000 Subject: [PATCH] Remove deprecated '-headless' argument (#625) --- client/src/main/java/hudson/plugins/swarm/SwarmClient.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/src/main/java/hudson/plugins/swarm/SwarmClient.java b/client/src/main/java/hudson/plugins/swarm/SwarmClient.java index 99d0cffb..c1b82ce8 100644 --- a/client/src/main/java/hudson/plugins/swarm/SwarmClient.java +++ b/client/src/main/java/hudson/plugins/swarm/SwarmClient.java @@ -176,8 +176,6 @@ void connect(URL url) throws IOException, RetryException { args.add(options.jarCache.getPath()); } - args.add("-headless"); - /* * Swarm does its own retrying internally, so disable the retrying functionality in * Remoting.