RE: Way to have launcher.getChannel().call() use an idle executor?

2024-05-08 Thread 'Winter, Markus' via Jenkins Developers
One thing to consider is that when you use a normal task then it will wait in the queue when there is no free executor. Maybe you want the task to always run even when the machine is busy, then you could implement it as FlyWeightTask. This can be made as running hidden or show as using an

Re: Way to have launcher.getChannel().call() use an idle executor?

2024-05-08 Thread 'Jesse Glick' via Jenkins Developers
On Tue, May 7, 2024 at 1:47 PM Michael Carter wrote: > To put simply I'm creating a security scan into my plugin that I want to > run independent of jobs but run on the nodes. > > I want to have it show up on screen it's running on the node > I suppose it should be possible. You would need to

Detecting if a FilePath is a symlink on Jenkins workers

2024-05-08 Thread Berend D.
To determine if a FilePath of a remote path is a symlink or not, I figured I should be able to use the isDirectory() of the FilePath instance - however that seems to return true for symlinks to directories as well. There is also an isSymlink() function, but that one is static and seems to

Re: Plugin with Java 17 minimum dependencies

2024-05-08 Thread timja...@gmail.com
v1 of the reusable workflows is now running on Java 17, thanks all On Wednesday 8 May 2024 at 05:47:52 UTC+1 jone...@gmail.com wrote: > +1 > > On Tuesday, May 7, 2024 at 8:41:48 PM UTC+2 m...@basilcrow.com wrote: > >> Yes, I think the default should be changed to Java 17 and a new >> version