We have a a bunch of jobs that need each others artifacts and each job 
creates at least 1GB of artifacts (Eclipse update sites). We are slowly 
running into space problems on our build server when using the Copy 
Artifacts plugin so I thought about using hard links to "copy" the 
artifacts to downstream jobs. I had a quick lock at the Copier class and it 
should be fairly easy to add a Copier that uses hard links if the source 
files are on the same machine (using the Java 7 nio.Files API). Now I have 
some questions regarding this enhancement:
- What would be the best way to add a new Copier? Create a new plugin with 
only the Copier class in it? Or extend the existing Copy Artifact plugin?
- How do I make sure that the new Copier is used instead of the standard 
implementation? Maybe the UI needs an option to select a copier instance?
- How do I deal with the Java 7 dependency? Internally for us it's no 
problem, but the code should also be available to others and afaik Jenkins 
is still based on Java 6.

Cheers,

Thorsten

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to