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

Handle empty global libraries and change libraryPath

      Two issues were found recently with the plugin:

      • empty (both src and vars directories are either not present or do not contain groovy files) libraries are not handled properly by the caching mechanism
      • the libraryPath of a library was not considered when creating the unique cache directory

      I will provide a PR to fix these issues but will need support and feedback (I will add comments on the PR accordingly)

          [JENKINS-73769] Handle empty global libraries and change libraryPath

          This was the original ticket which fixed part of the problem. 

          Steve Boardwell added a comment - This was the original ticket which fixed part of the problem. 

          Pull Request https://github.com/jenkinsci/pipeline-groovy-lib-plugin/pull/137

          NOTE: Currently in draft since I haven't finished the description and testing steps. However, the code could be reviewed. 

           

          Steve Boardwell added a comment - Pull Request https://github.com/jenkinsci/pipeline-groovy-lib-plugin/pull/137 NOTE: Currently in draft since I haven't finished the description and testing steps. However, the code could be reviewed.   

          Steve Boardwell added a comment - - edited

          Steve Boardwell added a comment - - edited  Pull request ready for review https://github.com/jenkinsci/pipeline-groovy-lib-plugin/pull/137

          This PR has been merged

          Steve Boardwell added a comment - This PR has been merged

            sboardwell Steve Boardwell
            sboardwell Steve Boardwell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: