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

HTTP Request plugin returns a non-public class in pipeline

      The HTTP request plugin returns a ResponseContentSupplier when used from pipeline. This class is only package-scope, though.

      Groovy is fine with this for the most part, but it can cause an IllegalAccessError in some cases, for example when trying to mock it with Spock.

          [JENKINS-46835] HTTP Request plugin returns a non-public class in pipeline

          Jozsef Kozell added a comment -

          For reference, the class was made public in 2019.

          Jozsef Kozell added a comment - For reference, the class was made public in 2019 .

            janario Janario Oliveira
            jdawson Jessica Dawson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: