Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38992

Cache libraries specified by a permanent revision string

      To avoid excessive SCM updates during rapid builds, SCMSource.retrieve(String, TaskListener) should be permitted to specify whether the answer was expected to be permanent (e.g., tag, commit hash) or floating (e.g., branch). Then SCMSourceRetriever would automatically cache any permanent revision.

          [JENKINS-38992] Cache libraries specified by a permanent revision string

          Julien Duchesne added a comment - Added caching here:  https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/50

          What is missing for this to be integrated?

          Philipp Moeller added a comment - What is missing for this to be integrated?

          Oleg Nenashev added a comment -

          It still need an action from maintainers

          Oleg Nenashev added a comment - It still need an action from maintainers

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - Alternative implementation: https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/58  

          It was kept up-to-date for a year and a half. I got a bit tired of it. If you have any intentions of looking at it if I merge back master in it, I'll do it. Or merge that other pull request whichever you think is best. I honestly don't understand how anyone can wait 5 minutes for a library to be pulled from git and think that it is fine

          Julien Duchesne added a comment - It was kept up-to-date for a year and a half. I got a bit tired of it. If you have any intentions of looking at it if I merge back master in it, I'll do it. Or merge that other pull request whichever you think is best. I honestly don't understand how anyone can wait 5 minutes for a library to be pulled from git and think that it is fine

          I see that this ticket was part of plugin release v2.21: https://github.com/jenkinsci/workflow-cps-global-lib-plugin/releases 

          However, the ticket doesn't reflect that (still open): can someone confirm whether it should be closed ?

          Patrice Matignon added a comment - I see that this ticket was part of plugin release v2.21: https://github.com/jenkinsci/workflow-cps-global-lib-plugin/releases   However, the ticket doesn't reflect that (still open): can someone confirm whether it should be closed ?

          Thank you jglick !

          Patrice Matignon added a comment - Thank you jglick  !

            julienduchesne Julien Duchesne
            jglick Jesse Glick
            Votes:
            9 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: