-
Notifications
You must be signed in to change notification settings - Fork 60
caching the same repository avoid reload multiple time on the same build #340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
I tested it with [2.492.1] and Java 21 but getting this exception when JTE library are loading: [JTE] Pipeline Configuration Modifications |
PR Details
Description
It has been observed that the library makes more repository queries than necessary, which is redundant unless the libraries are stored in different remote repositories. However, each repository only needs to be queried once, and its content should be cached and associated with the execution to avoid impacting future or concurrent runs. This will shorten the initialization time for pipelines using the library
How Has This Been Tested
Tests are conducted on different types of pipelines, including multibranch and simple pipelines, to analyze the previous behavior. The results show a significant reduction in pipeline initialization time
This behavior only affects how remote repositories are queried when the libraries come from a source control management (SCM) system.
Types of Changes
Checklist