> Does `String[] list(String glob)` not work as advertised?

It works!
But doesn't support exclude patterns...
I fixed the Wiki page.

I found I confused myself a little.

1. I tried to migrate FilePath to VirtualFile preserving the behavior of 
copyartifact.
2. I found it's impossible to preserve the behavior as VirtualFile doesn't 
provide features compatible to FilePath (file modes, symlinks, exclude 
patterns).
3. I decided to introduce CopyArtifactOperation and provide both coping with 
FilePath and coping with VirtualFile.

So I no longer need exclude patterns for VirtualFile.
I can wait for future improvements of VirtualFile.

> Instead, there should be one
> `ArtifactManager` copier, which *currently* will need to check for
> `instanceof StandardArtifactManager`

I wish I could test `instanceof FilePathVF`! 
But it is private.

I agree that.
I'll switch copying for generic ArtifactManager and that for 
StandardArtifactManager internally,
noting limitations for generic ArtifactManagers in help texts.

> Plenty of Jenkins code lazily enumerates builds. There is a whole
> series of helper methods in `RunList`.

Thank!. I'll try that.

ikedam

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/2e023b72-9b74-4afc-84d3-a3745c2fc68f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to