Re: Speed up Artifact Copy between slave and master

2021-03-03 Thread Tim Black
cts) Thanks for your time.. On Tuesday, March 2, 2021 at 11:38:17 PM UTC-8 bma...@gmail.com wrote: > > > Le mer. 3 mars 2021 à 06:44, Tim Black a écrit : > >> Think I found it: NameMangler.apply() >> <https://github.com/jenkinsci/branch-api-plugin/blob/f2bd7ec715057feb047

Re: Speed up Artifact Copy between slave and master

2021-03-02 Thread Tim Black
Think I found it: NameMangler.apply() . Would it be possible/advised to import the NameMangler class in my Shared Library vars/scpArtifacts.groovy (ass

Re: Speed up Artifact Copy between slave and master

2021-03-02 Thread Tim Black
, March 2, 2021 at 9:48:33 AM UTC-8 Jesse Glick wrote: > On Mon, Mar 1, 2021 at 6:22 PM Tim Black wrote: > >> *Can anyone point in the right direction in the source code where the >> multibranch job path is created?* >> > > Look in the `branch-api` plugin. > -- You

Re: Speed up Artifact Copy between slave and master

2021-03-01 Thread Tim Black
cp and I'm done. On Monday, March 1, 2021 at 2:49:13 PM UTC-8 Jesse Glick wrote: > On Mon, Mar 1, 2021 at 4:50 PM Tim Black wrote: > >> In lieu of installing a proper artifact management system and replacing >> all archive/copyArtifact with calls to its REST API >> >

Re: Speed up Artifact Copy between slave and master

2021-03-01 Thread Tim Black
eline job whose Full project name is "ProjectFolder/MyProject/feature%2Ffoo", in the downstream multibranch pipeline, I would do something like: scp -r jenkins-controller:/jobs/ProjectFolder/jobs/MyProject/branches/ **/lastSuccessfulBuild/artifact/ ./ On Monday, March 1, 2021 at 1

Re: Speed up Artifact Copy between slave and master

2021-03-01 Thread Tim Black
Reviving this very old thread, since this is still very much a problem in Jenkins core a decade later. As I commented here , I'm seeing massive (~13x) performance gains by