Skip to content

use cache for Jenkins remote files #155

@morlajb

Description

@morlajb

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

we have a heavy Jenkins with more than 10,000 runs a day. it would be nice to try and reduce some loads from it :

currently it checkout every branch build

Checking out git https://github.com/XXXX/jenkins-files.git into /var/jenkins_home/workspace/aaa_main@script/23af8263fcd014953cdff9bf6785fd52eb5b74f67310a854c0195f1b4d89dd8a to read Jenkinsfiles/aaa/Jenkinsfile

instead of doing the checkout over and over maybe we can use some cache , like in the jenkins-lib mechanism

Loading library jenkins@main
Library jenkins@main is cached. Copying from home.

another issue , is missing of cleanup , those remote files stay forever , need to add a weekly / daily cleanup

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions